{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"AstVisitor.visitAstRecursive (cyclomatic 96): AstVisitor.visitAstRecursive has cyclomatic complexity 96 (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":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7e0bed9904fadc5f5e05e28a6c5accd7440b2523a6964a5b57e814a7c3547a"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryRenderer.renderNode (cyclomatic 78): QueryRenderer.renderNode has cyclomatic complexity 78 (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":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"f887527bdc834df9e75065acbd466a963e7d3663bf44935412bfa84633cff8b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ValueCoercionHelper.coerceInputValue (cyclomatic 49): ValueCoercionHelper.coerceInputValue has cyclomatic complexity 49 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1324c30da017f6c674e70a780a1cf17b6cc624bdb2e362275c8cf96e43e69e"}},{"ruleId":"D1","level":"warning","message":{"text":"FutureResolver.resolveField (cyclomatic 47): FutureResolver.resolveField has cyclomatic complexity 47 (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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91fba90ea30b0b67b94793e0835fdd259ea5cb897bceffe43d6f1f38a08d922"}},{"ruleId":"D1","level":"warning","message":{"text":"ResolverBasedAstSchemaBuilder.extractScalar (cyclomatic 45): ResolverBasedAstSchemaBuilder.extractScalar has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"3267829645d01a53bb492a32156aaaa051a24b27c72da3d253bc6437a150db29"}},{"ruleId":"D1","level":"warning","message":{"text":"ValuesOfCorrectType.visitor (cyclomatic 36): ValuesOfCorrectType.visitor has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/ValuesOfCorrectType.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c547e6ce60bfb617c0626bd837c3e1a2fa8486b27c7cd0ceb851d1f620aebb84"}},{"ruleId":"D1","level":"warning","message":{"text":"FutureResolver.resolveValue (cyclomatic 33): FutureResolver.resolveValue has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d012968ec9a6a0537fdc07177e138c370447de09ce6c70d60be406d4615d3c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"FetcherBasedDeferredResolver.resolveEntities (cyclomatic 28): FetcherBasedDeferredResolver.resolveEntities has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e008e7c9fbe230a0a169686c739c75642232e89095c4acf62342a80eb083bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"FetcherBasedDeferredResolver.resolveRelations (cyclomatic 27): FetcherBasedDeferredResolver.resolveRelations has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35ed360d214f56e3414524d2c9cd5fae8807f603bcb0f4077e47e7bf93c676b"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveObjectTypeMacro.validateObjectConfig (cyclomatic 27): DeriveObjectTypeMacro.validateObjectConfig has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3a21fb38030990b2f765e8091d22a8e972970af802ff7a49cf64aa33ced188"}},{"ruleId":"D1","level":"warning","message":{"text":"FutureResolver.resolveStandardFieldResolutionSeqInner (cyclomatic 26): FutureResolver.resolveStandardFieldResolutionSeqInner has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864c6d2aa11083dd5e1d89181695ea5108e5d7e7cc87deaa6d1cfcc0d81e6c0"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveInputObjectTypeMacro.collectFields (cyclomatic 25): DeriveInputObjectTypeMacro.collectFields has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"16544e718d1808e8c8d53efdf0849666da15f88e87dcbdc20309a679e815706b"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryReducerExecutor.reduceQueryUnsafe (cyclomatic 24): QueryReducerExecutor.reduceQueryUnsafe has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/QueryReducerExecutor.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"10181fb6dd8270155f700d2649e155b108322bd853923316726d653aed8b1546"}},{"ruleId":"D1","level":"warning","message":{"text":"ValueCoercionHelper.isValidValue (cyclomatic 24): ValueCoercionHelper.isValidValue has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e04c457922145216b695b38fd254a6a9e6cf4ac6dfbff334a9d8888666f895b"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldCollector.collectFieldsInternal (cyclomatic 23): FieldCollector.collectFieldsInternal has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FieldCollector.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcf6af4ccb4193c84b6b6ff4ea64caa7803ff5f7e75bf054a0e9926ae674650"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInfo.enter (cyclomatic 23): TypeInfo.enter has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/TypeInfo.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2f01c0e4f4cf21e3f18dec7e4b989f0a1fa31262e4ad324a9e5629f2b644e2"}},{"ruleId":"D1","level":"warning","message":{"text":"ValueCoercionHelper.resolveMapValue (cyclomatic 22): ValueCoercionHelper.resolveMapValue has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28bceb9c8a2e846ba9a9d53736474b5cd23515210a0864264ad3d7bc297de7"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveObjectTypeMacro.collectFields (cyclomatic 21): DeriveObjectTypeMacro.collectFields has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: DeriveObjectTypeMacro.validateObjectConfig (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd2d614d92f367a29ab289ee38820e07034e11a850dfcc41da297940203ba2d"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidationContext.isValidLiteralValue (cyclomatic 20): ValidationContext.isValidLiteralValue has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/QueryValidator.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f564d4d92898e76ea4a3dad9134f53c8e4dbe07fc0df27859939945ab72b7"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveEnumTypeMacro.deriveEnumType (cyclomatic 20): DeriveEnumTypeMacro.deriveEnumType has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"007129e0b82f44678567e77beeb545fc2c9a0fa664a138633b0579bdb621f9dd"}},{"ruleId":"D1","level":"warning","message":{"text":"FutureResolver.trackDeprecation (cyclomatic 19): FutureResolver.trackDeprecation 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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"11efd54f4e49fe037d03e3be8d61ce2e727a234371a4903bb444115a36139cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"AstSchemaMaterializer.findOperationsTypes (cyclomatic 17): AstSchemaMaterializer.findOperationsTypes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f08e85dbf50ab74276982a5f7550bce052f66e26673eeaa6f7602f63d24dea4"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchExecutor.findUsages (cyclomatic 16): BatchExecutor.findUsages has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"760204abc6db1b349ddb5613b53cd247ddab3b47fb7b669817336de01686f64d"}},{"ruleId":"D1","level":"warning","message":{"text":"PossibleFragmentSpreads.visitor (cyclomatic 16): PossibleFragmentSpreads.visitor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/PossibleFragmentSpreads.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba14459aa77bfb642205712b593916028a9f2cbc0a5e5b0a57fd3f243e35a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.resolveField (cognitive 148): FutureResolver.resolveField has cognitive complexity 148 (threshold 15). Drivers by points: if/else 44 (110 pts), match/switch 7 (20 pts), error handling 3 (10 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 90). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c75a9d6ba2cb621373f8c396419602abde7abc33c6d4857aa88f032235922b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AstVisitor.visitAstRecursive (cognitive 94): AstVisitor.visitAstRecursive has cognitive complexity 94 (threshold 15). Drivers by points: if/else 46 (92 pts), match/switch 2 (nesting depth added 46). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae36bc85a7f085c0537b923966faf662c36be1c886bd958ed7df23af7df3ed77"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderNode (cognitive 80): QueryRenderer.renderNode has cognitive complexity 80 (threshold 15). Drivers by points: if/else 46 (71 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ef93265d0c7b096b24396619e14bccbc8b47d654b25c20fcc0ce912823f414"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveInputObjectTypeMacro.collectFields (cognitive 76): DeriveInputObjectTypeMacro.collectFields has cognitive complexity 76 (threshold 15). Drivers by points: match/switch 16 (63 pts), if/else 7 (13 pts) (nesting depth added 53). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"35889c22c0ccae13084f373d70ea44f0ab43a233d489eab32bec391ab0690326"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.resolveValue (cognitive 67): FutureResolver.resolveValue has cognitive complexity 67 (threshold 15). Drivers by points: if/else 20 (33 pts), match/switch 9 (26 pts), error handling 2 (4 pts), loops 1 (4 pts) (nesting depth added 35). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"483936af82e96a80327e61b41e7f7c6ea94d90f6de83167e8514292edab5b635"}},{"ruleId":"D2","level":"warning","message":{"text":"ValuesOfCorrectType.visitor (cognitive 61): ValuesOfCorrectType.visitor has cognitive complexity 61 (threshold 15). Drivers by points: match/switch 16 (37 pts), if/else 18 (23 pts), boolean chains 1 (nesting depth added 26). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/ValuesOfCorrectType.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bb7f76c9e3ce7ecde113febe5787904ff1755853465d68850e993a342ce88c"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldCollector.collectFieldsInternal (cognitive 60): FieldCollector.collectFieldsInternal has cognitive complexity 60 (threshold 15). Drivers by points: loops 6 (30 pts), if/else 6 (18 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 42). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FieldCollector.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13dfec5cb02989802443eab532da78cba008d5a8ef2bcf412a46ba271e10b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueCoercionHelper.coerceInputValue (cognitive 54): ValueCoercionHelper.coerceInputValue has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 17 (36 pts), if/else 14 (17 pts), boolean chains 1 (nesting depth added 22). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4241412567ce43077994a82385d632de4d2ed0a8bb2cb408599e83fbb5f4d21"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueCoercionHelper.isValidValue (cognitive 44): ValueCoercionHelper.isValidValue has cognitive complexity 44 (threshold 15). Drivers by points: match/switch 11 (33 pts), if/else 11 (nesting depth added 22). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec162694adf1eacb860bdfdf7e11e9ec278505d4b1cf9b92b8789090c318ead"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveObjectTypeMacro.collectFields (cognitive 41): DeriveObjectTypeMacro.collectFields has cognitive complexity 41 (threshold 15). Drivers by points: match/switch 15 (32 pts), if/else 7 (9 pts) (nesting depth added 19). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"25716e660780e24508d8229dadaac0454e5641934cd5dda6c619c7b984b133ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.collectProjections (cognitive 40): FutureResolver.collectProjections has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 4 (16 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfab88efd6f073fbd4e2fbda7b75794b8c198acb3e3d291e0b276bf66fff3f5"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderFieldDefinitions (cognitive 39): QueryRenderer.renderFieldDefinitions has cognitive complexity 39 (threshold 15). Drivers by points: loops 7 (23 pts), if/else 10 (14 pts), boolean chains 2 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (QueryRenderer.renderEnumValues) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240c5869d6fbb1176e1a43c168cd0bb21ef4b5d358f7d9bb61fef6539328cad"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderEnumValues (cognitive 39): QueryRenderer.renderEnumValues has cognitive complexity 39 (threshold 15). Drivers by points: loops 7 (23 pts), if/else 10 (14 pts), boolean chains 2 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (QueryRenderer.renderFieldDefinitions) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"483f063a1ade2cc15d1260a9fe6dfd2e817d23b99f1c3aeadc96f26d43b90cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumTypeMacro.deriveEnumType (cognitive 38): DeriveEnumTypeMacro.deriveEnumType has cognitive complexity 38 (threshold 15). Drivers by points: match/switch 8 (23 pts), if/else 9 (11 pts), boolean chains 4 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"557aebc7fba51a8a7ec396a443e05cbbfb3ccb872a2269c71d1fd22ef4885153"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderSelections (cognitive 35): QueryRenderer.renderSelections has cognitive complexity 35 (threshold 15). Drivers by points: loops 7 (23 pts), if/else 8 (11 pts), boolean chains 1 (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed8aeae713af79c862b18060a2dd5f22ac0c9dd5a97983cbcf0ba0f592568b8"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.trackDeprecation (cognitive 34): FutureResolver.trackDeprecation has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (19 pts), match/switch 8 (13 pts), boolean chains 2 (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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa23a9949c86fd4411c062cf0218d95e93feb875d2291e0c61e000894f23ebfc"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveObjectTypeMacro.createArg (cognitive 32): DeriveObjectTypeMacro.createArg has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 9 (26 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 18). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5af108e5265b1a17c4d13c337580dc3a97c6c2854e07e23b2aabc39413374"}},{"ruleId":"D2","level":"warning","message":{"text":"FetcherBasedDeferredResolver.resolveEntities (cognitive 31): FetcherBasedDeferredResolver.resolveEntities has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 9 (18 pts), if/else 10 (13 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ba78d395b0056fe50af50c7af2990a27c7c4cae95d7fe9012664926a08e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveInputObjectTypeMacro.collectFields (cognitive 31): DeriveInputObjectTypeMacro.collectFields has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 8 (21 pts), if/else 5 (10 pts) (nesting depth added 18). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d314827abecb53b1c10a5085ac83c1dc99654c9d0e22defac68b08eac8a7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveObjectTypeMacro.collectFields (cognitive 31): DeriveObjectTypeMacro.collectFields has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 10 (18 pts), if/else 9 (13 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06372da9c92f4d7420b0e37d88640673f5d0c9b485195abfffba3ee069b1f49"}},{"ruleId":"D2","level":"warning","message":{"text":"PossibleFragmentSpreads.visitor (cognitive 29): PossibleFragmentSpreads.visitor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (10 pts), match/switch 4 (6 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/PossibleFragmentSpreads.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fce2bdd99365b88054596beadb117ef627fdcd99b5e8dd51ee3c8e95ee6f77b"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.resolveStandardFieldResolutionSeqInner (cognitive 28): FutureResolver.resolveStandardFieldResolutionSeqInner has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 11 (21 pts), if/else 5 (7 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df65b8490525383f27826e8a8554bf5a4d799cf350aff78f8e26eeafccfbae0"}},{"ruleId":"D2","level":"warning","message":{"text":"Executor.prepare (cognitive 26): Executor.prepare has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 3 (9 pts), if/else 5 (7 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/Executor.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acc24327e4541eee4b44e66140e22c0e8dfe31d60bb0cb3a34e069fdf3da8af"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInfo.enter (cognitive 26): TypeInfo.enter has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 8 (20 pts), if/else 6 (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/TypeInfo.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea02a167c238891f27e3c020185dacc75199163c0d9c1159b58bbd67e0a50b8"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryReducerExecutor.reduceQueryUnsafe (cognitive 24): QueryReducerExecutor.reduceQueryUnsafe has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (13 pts), loops 2 (6 pts), if/else 4, error handling 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/QueryReducerExecutor.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1a5a62af31c2c7c72de460d15cc79d544abf7b2a256991fcd9461fb437b017"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderInputObjectFieldDefs (cognitive 24): QueryRenderer.renderInputObjectFieldDefs has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 6, boolean chains 2 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cad860688ca6b860b33727b97e95a652af70ea433a97c9ea6422eab5c2eb2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumTypeMacro.collectEnumValues (cognitive 24): DeriveEnumTypeMacro.collectEnumValues has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 5 (10 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d574684cdcaf81c8ef7d0db4a6816318da85a0c8aeb568374936ba50cdc42fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolverBasedAstSchemaBuilder.extractScalar (cognitive 23): ResolverBasedAstSchemaBuilder.extractScalar has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 8 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b52def77bdfb13d4c42e46e4f5e0f8b5fdfd559a153f05ebe44393efa3663c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumTypeMacro.collectEnumValues (cognitive 23): DeriveEnumTypeMacro.collectEnumValues has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 5 (10 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1619dcf15814e7b88eac017de05f081bc2dc9a88bdffaef65ab53dd84cbd887"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumTypeMacro.deriveEnumType (cognitive 22): DeriveEnumTypeMacro.deriveEnumType has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 6 (16 pts), if/else 5 (6 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0de3ffeff5c08a0b68bb88cb70ab6c5cc6f589f7f9d3da4e66040dc87bcad0"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionFieldsValidationRule.validate (cognitive 21): SubscriptionFieldsValidationRule.validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1111899ca42f7e7e16ccaf970d0fea9a4c6271420f79eb06dae633acb8f7dec0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvidedRequiredArguments.visitor (cognitive 21): ProvidedRequiredArguments.visitor has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 4 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2401d24ff9de224390691a4e8323f81adfdecd325536ffc6cc6deb1fbcb5cf46"}},{"ruleId":"D2","level":"warning","message":{"text":"VariablesInAllowedPosition.visitor (cognitive 21): VariablesInAllowedPosition.visitor has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 6 (8 pts), boolean chains 2, match/switch 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":"modules/core/src/main/scala/sangria/validation/rules/VariablesInAllowedPosition.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a78dd0f13024d29c79aec00dd346dc19b93a2b744b2966ae36e8caf7c61561"}},{"ruleId":"D2","level":"warning","message":{"text":"Executor.execute (cognitive 20): Executor.execute has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (6 pts), match/switch 2 (4 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/Executor.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53e0e432c8fa404d13ff7f76f32d6f8107c9446a613c68eecd5990001984b28"}},{"ruleId":"D2","level":"warning","message":{"text":"AstSchemaMaterializer.findOperationsTypes (cognitive 20): AstSchemaMaterializer.findOperationsTypes has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 8, match/switch 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d032da5db04fec9fff40c4a6bdffb320f9f94459c0efadf3e1df9a98fa3160"}},{"ruleId":"D2","level":"warning","message":{"text":"NoFragmentCycles.visitor (cognitive 20): NoFragmentCycles.visitor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/NoFragmentCycles.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7427506905600028d06ba66914cef68419aeb3675d3a496e85e7e6aaee9e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveObjectTypeMacro.deriveObjectType (cognitive 20): DeriveObjectTypeMacro.deriveObjectType has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (17 pts), if/else 3 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c57854846738c15e50de1051681e32aa53b98fa3ba463dbcdfbae79e8991d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureResolver.resolveDeferred (cognitive 19): FutureResolver.resolveDeferred has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 5 (6 pts), loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7d4469793ee7a9bcbcd68d69e7cca250ec64b935e8a5ec485d2f23234d070"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultResolver.handleSupportedError (cognitive 19): ResultResolver.handleSupportedError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ResultResolver.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc466b7dadfbaa2528a6e6fc10f5f6917489b55709b2b74d8d3cf7a1bc60a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchExecutor.collectVariables (cognitive 19): BatchExecutor.collectVariables has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"950f866e080c18f498b8fcb792c4435f37fb5d7d617f3dcb6396ddadcd699a36"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderInputValueDefs (cognitive 19): QueryRenderer.renderInputValueDefs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a1ed596de354a761f502394cf5b64a980afc9341052165d597e2c6a3b7833"}},{"ruleId":"D2","level":"warning","message":{"text":"ExactlyOneOfFieldGiven.visitNode (cognitive 18): ExactlyOneOfFieldGiven.visitNode has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 4, error handling 1 (3 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/ExactlyOneOfFieldGiven.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477bda4070e0d145662fe9972575ce55b4f8c359ac25c61beb084f21a1685a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueCollector.getVariableValues (cognitive 17): ValueCollector.getVariableValues has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 6 (8 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCollector.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"814464d1b3ea55f84e24e6ed3497faf56052a9641fc2d6bce179332709f77d13"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidationContext.isValidLiteralValue (cognitive 17): ValidationContext.isValidLiteralValue has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 3 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/QueryValidator.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9569d238cbf3cd5210a6c5f4fdabcd3cef827d825239e557c6fc0fb526577e8"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveObjectTypeMacro.deriveObjectType (cognitive 17): DeriveObjectTypeMacro.deriveObjectType has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 3 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3ce06304283f57bfc3c475dace42845cd7a616bef944631642cfa1b05610a2"}},{"ruleId":"D2","level":"warning","message":{"text":"FetcherBasedDeferredResolver.resolveRelations (cognitive 16): FetcherBasedDeferredResolver.resolveRelations has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, match/switch 4 (6 pts), if/else 4 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d791acfba4b364403bb9ff3800abc448aab8cecf2a418eaa3acba04484b8c27"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderArgs (cognitive 16): QueryRenderer.renderArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (QueryRenderer.renderVarDefs) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74ba7d68f31be02b8dab1ea6aa72f8b9d474d5400136f3fc2dcf2662bc05db1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRenderer.renderVarDefs (cognitive 16): QueryRenderer.renderVarDefs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (QueryRenderer.renderArgs) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf5a08aa341dcdb5d0cb1339c7342e23eb2408fca9bb9d7bc7b4a62a4eef065"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumTypeMacro.collectKnownEnumSubtypes (cognitive 16): DeriveEnumTypeMacro.collectKnownEnumSubtypes has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (7 pts), if/else 5 (6 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dcba51070da12f9564d2eeb317795aaec72f6f99db0aeb45087c0c20dd6edf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/FutureResolver.scala: FileTooLong \u2014 1754 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: marshaller (65-2230). The bar is 500 significant lines; this is 1254 over it, 3.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddf53ae14c688996aff985c09b9ab3042d669b4f6b3512d1c440f64c61b82c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ValueCoercionHelper.coerceInputValue: MethodTooLong \u2014 coerceInputValue runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b97fd18406a18a5c6db59b287cbf82967e51043b04963761430780b4d27137"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AstVisitor.visit: MethodTooLong \u2014 visit runs 303 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 203 over it, 3.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"05329a79a104ea338883929fe991e314642601c7b8eb7164c2782dc2df93728a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AstVisitor.visitAstRecursive: MethodTooLong \u2014 visitAstRecursive runs 298 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 198 over it, 2.98\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":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cad2e2fdabd660f47bbed047975e941f52c3e8b26244f6b0c6b000f9288be6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/Schema.scala: FileTooLong \u2014 1280 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 780 over it, 2.56\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":"modules/core/src/main/scala/sangria/schema/Schema.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"222f0318b516b8b0a7ea6bfaeb204cebc18a8625e5cb16771df96c7be6434a56"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultAstSchemaBuilder: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aef2ed4a5a67748dbf58a5ca101127df49a7baab0f79ebd41aa1e1f9cfbdc7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/SchemaComparator.scala: FileTooLong \u2014 949 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 449 over it, 1.90\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":"modules/core/src/main/scala/sangria/schema/SchemaComparator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f61000d35a5d1af5548b1561225b5005d82870107c39440fd9ec4d95af999e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AstSchemaMaterializer: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"468416031256d424b7ccb4d9036cc694afdf0c1ed2d3219287950739302859ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validation/Violation.scala: FileTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 409 over it, 1.82\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":"modules/core/src/main/scala/sangria/validation/Violation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbc3bbd179fa5444351af59d18e02e88978cdd3cc365f0ea75a7027b0a9b431"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchemaRenderer: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4012772dc2c155f9d9bc5e54270f699d70213fe5afae85877b6ef7519b0e9286"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/AstSchemaMaterializer.scala: FileTooLong \u2014 856 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: AstSchemaMaterializer (27-1000). The bar is 500 significant lines; this is 356 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec457ad8a060299bf18dfda5ab5bb95d6fc37f099f15d9390e22b7d86d505e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FutureResolver.resolveStandardFieldResolutionSeqInner: MethodTooLong \u2014 resolveStandardFieldResolutionSeqInner runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00973c05ab50dbb6cdca880139a0b9623a6557490b7df819e7ae1fefebf5380"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/QueryRenderer.scala: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f394c780a7ca54de36035b340e2486a2585b88c012171d59cb8b15547a56f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/AstSchemaBuilder.scala: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: DefaultAstSchemaBuilder (317-919). The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c58da70c1a6e92cc013dd20dece503055bab64083543dd32b3f7ea1ef58e5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultIntrospectionSchemaBuilder: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1749ccbbbf3bf8c1ef259b2c9d14e33f7e26be82731a759147a68b60cec32e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derive/DeriveObjectTypeMacro.scala: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\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":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0d891924879d81a559573d433e73b2c156447e4982ba1eab9c9e29be810cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FutureResolver: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a956276fa74ae66878dadbdf2415be6f19ce6da46350842a74c50c692493e094"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution/ValueCoercionHelper.scala: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ValueCoercionHelper (14-762). The bar is 500 significant lines; this is 137 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9132b113b4f1ab0c475dad6ccc87e2f6cd1f9dff7a211cd1443829a82882be94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/SchemaValidationRule.scala: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f458750a8cf32dfee324d6dcc681a46b4ff236baa02bca3a8e282324a3635867"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultAstSchemaBuilder: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9244616a428a8e4d523f039c3ae85a9e27821362d6f5f135965bbbff63d1ff3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryRenderer: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1007c6ed79f172c30171615c67d265d2a0d25223d194437dbd5191fc90bae8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/ResolverBasedAstSchemaBuilder.scala: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: ResolverBasedAstSchemaBuilder (15-504). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0a6c9ec919380f426252248b1e2b83ade8e888812df4b05dd379bfe024009f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: batch/BatchExecutor.scala: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2d18a4abf1ef3950bc265befc0664ce4b2b6d72d8850dad2ddf6f00055067e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ValueCoercionHelper.resolveMapValue: MethodTooLong \u2014 resolveMapValue runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4243d943b95c854df8b4607876d71d291c09324d037aa78a5d07924d87b26230"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: introspection/package.scala: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/introspection/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffad384cd833c752b024d361b8b21f55617261455bc83f52e5355a31adb5731b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ast/QueryAst.scala: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\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":"modules/ast/src/main/scala/sangria/ast/QueryAst.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"251362376f085ed11822b9e3765c2a043fd20b5ea42be0267902b8a206f197cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:175-210 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:191-227 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d589378b14abfd32f82a777f9b91b5f35b37a8b9cd324454ed144e3892a5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:188-207 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:296-315 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:264-283 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:464-485 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce4d5bd426f23f598ac6108f084936017466d7da36803d8653100dbf6e60b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:215-243 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:319-401 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:291-319 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:489-575 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"809e23afd7282ed10456d509ff90284b82398652fd4656fa1941750db6c2dd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:202-246 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:279-311 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e454f32df3f63cd16619c8facba3b688ee291b988e0639909cbb10793253929e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1177-1204 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1314-1352 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba31b683224a2e71425801044be1a8252e4727c267fa84c207baa47f1b9f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:276-308 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:310-343 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f2494e8eb873a008b95aa120d6fefc1cfaf9e105513e320299600b4ca23f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:43-79 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:87-126 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:151-190 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:296-327 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a711cf33adfc1ad9de7955937e841e86f736f8027f772fd88b699f3b279c0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:172-187 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:234-250 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b9ef2ccbd9f4e42dc6c41baeb48f84846811cc011e3698b90a2a27ef550c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:72-90 | modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:96-114 \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":"modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46080ae39e2eebd87b76de3346f0ca141c5758bb91bd9b1fb3c72cb2a5ff37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): modules/core/src/main/scala/sangria/schema/SchemaComparator.scala:482-517 | modules/core/src/main/scala/sangria/schema/SchemaComparator.scala:523-561 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/SchemaComparator.scala"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f102fb9c4cea8ecb344d5a6febb8a5f221c002d09c51746a480f92ce4f80baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:528-549 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:556-576 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf153d05d0646020305c9e31aa5ac49f35b4b66661d4e39d8d762348c311c0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala:263-279 | modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala:282-300 \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":"modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88ed3f91765f0d44261b15d1dfff4498182d346441b00d2661678cf82529ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:152-171 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:168-187 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"251d6730a55d33bab4b450779e710fd0393d1f5d3f77c43f327020034789aca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:382-411 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:123-150 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9291f6015e5d88244e4883e33b18d948f983469e0eed8725da0592b3bc80893b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:83-106 | modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:134-157 \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":"modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f01ff32f4cb75d22e0691512b4c8fd57201ffbef5f08d106a77b06377b4711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): modules/core/src/main/scala/sangria/util/StringUtil.scala:157-171 | modules/parser/src/main/scala/sangria/parser/Lexical.scala:17-29 \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":"modules/core/src/main/scala/sangria/util/StringUtil.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbdd438fcea2c61159fd78dda761c34c1ae3cff4921dcd0085dfce991599e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:230-244 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:251-269 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:276-290 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b9a492d1f727bfc5c74da6d9e02320ff0316a3f9afa7ce13c6ad1076b8fe6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:345-352 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:354-373 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:375-394 \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":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e9228b74d5025436a334214d999cff18c1cc27e8c0d18f00926fe15cef11eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:46-57 | modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:60-75 \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":"modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"356bce00138b46fdea91851eeae92c470a5478c4d25b08bdf6d792d86d974a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:237-251 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:428-442 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:455-466 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:478-490 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee3bd2eabd26e7c407e661d9363347294eb36856e04bcf8d817aad6844b38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:252-275 | modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:283-304 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b8d9feb51c4661288662da0635465e49751a38468f90bd36602170bd0e3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala:73-86 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala:89-102 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b42cc625db6d92a8ecbb886028cf544471205e7f0f9bd6b3d02114affa8764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala:353-365 | modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala:384-394 \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":"modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a1d524c965bb6cc3bc204b5e03e1f9704e8d423e0a38e1b8fa3007a28f28d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:337-348 | modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:146-159 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f148e81f33788a6e5a79aaa3befbe6c03c522e1f411375f3a3a5eaa626caa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:109-131 | modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:160-178 \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":"modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bac2eae8c9a347f5c7ec6f50db952c16850f79876caeb59d2ab1648dcf6116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:848-860 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:894-906 \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":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb088140138a7c244865c8600586a2f6d128d7107c801002cf836ca3d27da25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:48-63 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:66-83 \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":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0960792cc77772bee3bfbeb3aa2586e5d18bbff35599edbe45b56253a2c4090c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala:485-502 | modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala:506-523 \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":"modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc44af84bae2513edb09869cd854d471543f0f9fdcff53d674f604d3195b34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:827-842 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:869-883 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:917-926 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f1fcfedd91e5fb0bc384f280a5806220200f6538bee2be3d702fc2e7be25f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): modules/core/src/main/scala/sangria/schema/Context.scala:162-172 | modules/core/src/main/scala/sangria/schema/Context.scala:185-192 \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":"modules/core/src/main/scala/sangria/schema/Context.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8488797d5168787e1f59d49fd28c0841e011133185f257838a098cd78bcfd3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:597-610 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:238-251 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"29621f448315c62ed2ba85683000d540e72c060b398d582c6a271723316b4b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:410-415 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:444-449 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6864dd3f1805dc6aee445b27c3cb1096986915d1c8d32b83d232d772310762b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): modules/core/src/main/scala/sangria/execution/FieldCollector.scala:251-266 | modules/core/src/main/scala/sangria/execution/FieldCollector.scala:268-284 \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":"modules/core/src/main/scala/sangria/execution/FieldCollector.scala"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74a399eb7542270fb38ce5e79f5972ec2f2030bc1a2007f7099ec945d02b35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:650-655 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:660-673 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"1954b5c7d779893cb35e6d6ebdbf9016e01d58a1f8067f9b95cf4b07e9c7a683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): modules/core/src/main/scala/sangria/schema/Projector.scala:15-20 | modules/core/src/main/scala/sangria/schema/Projector.scala:25-31 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/Projector.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a103c096b4800e4f26adbc96e38b137ae4be9fd3eca90f6a84763530ac2d498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:485-495 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:498-508 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:511-521 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ab8037ce8b71a6204daa355cdbc0c70d3673ccfb77082359dff78289ee75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:825-832 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:837-844 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f898dfeb1fd94d4dd9d20ba7ca228d1fe0c21e9da44b7d360fc8e4dc93be23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:78-85 | modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:88-95 \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":"modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6202a444a1165335db42d34276fe2064c45b1b5d29d51556fca5fd7fc67ac46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:545-556 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:199-208 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d42d0c6b67bed2b833144f7b443d2135e84641f7ee32d8e0b47c21eb15e7876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:578-582 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:404-408 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc770e6376149d03080f9f860128309186b501857fe721963a94b3155bbdad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:231-235 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:421-426 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:591-596 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678f26c71df204cc97752650d5281f27f4e8b19f9b6af9fc7257abd2dbddc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:715-725 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:276-286 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dd4f30ff364770f175003922127c7aa496b6a5c136635c5d5a88598d14e247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): modules/cats-effect-experimental/src/main/scala/sangria/execution/AsyncResolver.scala:42-63 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:38-58 \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":"modules/cats-effect-experimental/src/main/scala/sangria/execution/AsyncResolver.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17422c330d1e57af610bf89306c974a0894112fb4924a4af3227ba284be162c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:742-750 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:292-300 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a60909b7a6e8351863bb4fdf937a52d3e169b3b4a973db405851328bca25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:210-213 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:286-289 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ebde6f942af56897bc31467d86ee69c42cb81d7415a80a06885cc2562aeea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:579-587 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:224-230 \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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3736b5fd011a80cdc6aa88bf0040d3ee632c8bc4a612538888c93bfaadaf86d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): modules/core/src/main/scala/sangria/util/ConcurrentHashMapCache.scala:110-113 | modules/core/src/main/scala/sangria/util/TrieMapCache.scala:29-32 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/util/ConcurrentHashMapCache.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987365573a24502d8c44a2e0ef9f66e154109b0ea3d4ef38a79893c88d5b5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:361-401 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:535-575 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:361\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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1098c316b25027e6a6dea0fdc883e026cece3519499ee08964f733b5ce641aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:179-210 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:196-227 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:179\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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d516abce78536a5025f184c8a7ca1b7eb1fc32f5e031db74288b7138560bfd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/Executor.scala:32-57 | modules/core/src/main/scala/sangria/execution/Executor.scala:163-187 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/Executor.scala:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/Executor.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e726d3f69a9d7b6970cee21bfa3598124bab9c06d74160faf2334e5d3d97c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:632-652 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:703-723 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:632\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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1826e5cddbffe97f2e2749e84fd60ddb2719137b52dab10b5a9a24fcf91a9a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): modules/core/src/main/scala-2/sangria/macros/ParseMacro.scala:18-36 | modules/core/src/main/scala-2/sangria/macros/ParseMacro.scala:39-57 | modules/core/src/main/scala-2/sangria/macros/ParseMacro.scala:60-78 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala-2/sangria/macros/ParseMacro.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e165d6d39e682b9e1554607ed071030e5175b3b980a198cbb510dbb2e37b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1186-1204 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1334-1352 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1186\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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab0e2baab058e4c89346a9975f3bb4f46d2e1ae9508ed84fc81e9fe7a8c2fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:227-243 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:303-319 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:227\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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebf637ed42f3982f50a3db9c4a79634f302ae40dca5c108d21ae6d3187f3932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:189-204 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:297-312 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:265-280 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:465-480 \u2014 before extracting anything, compare \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala\u0060 and \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae52e1ba1bad2109c03e5df25b8025c7cc3aaa422171117433e8e5fa6b3776b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/Executor.scala:68-83 | modules/core/src/main/scala/sangria/execution/Executor.scala:198-213 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/Executor.scala:68\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":"modules/core/src/main/scala/sangria/execution/Executor.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd069fa6e6a0165ba7ee221d0340a6cc6812fb467125e7dec2cd8733a3dee00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:543-564 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1049-1070 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:543\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"181c100118635386579f5fb69eb5d14e0f3cba053a562f400850c4d4fa9ae22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:252-264 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:348-359 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6150edb9677b2a9ea2655e027816a711cad8c431b5fd50e7a9b2aa0aebd3a80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala:23-35 | modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala:44-56 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala:23\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":"modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e99be0883b4e6d79b40e35477606d2574c3af9273f0caf8e8877d46ee1e2af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:94-106 | modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:145-157 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a803c70b34068f47626f34bc7e5d453297a71a94ff4b1601992bed0b75c45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:292-303 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:310-321 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/ast/AstVisitor.scala:292\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f137fd642def5cbfc7f16a7ff510b94ed51cdf52aa1a0c2a6c8061be42503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:837-847 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1319-1330 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4dc6f2e0e0dba7d8eaf1a3d38bc78b27232b555e0d77f38928443021ea36b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1231-1242 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1295-1305 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1295\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1230\u0060 calls \u0060process\u0060 and \u0060modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1293\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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0b7c8ff3153d89e2c98cc8970d7d63b8b63fe0c0240df255f93ad695d6f9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:153-164 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:169-180 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b1ee0fa1ee2f840dc1d165297b9a7e5eef77083c25b077974751793063b3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:52-62 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:70-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d38bc7bd20406bd33600e81150181263e5fb64adb5f859ad969afd3e220e6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:326-336 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:498-506 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06dccff443c424bc5b18d80aa23ce803a8ada5f803533058df641b6aba047fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:221-230 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:355-364 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:297-306 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:529-538 \u2014 before extracting anything, compare \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala\u0060 and \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060Seq[MacroSetting]) = config.foldLeft(List[Tree]()\u0060 in one and \u0060Seq[MacroSetting]) = config.foldLeft(List[Expr[InputField[_]]]()\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc231b2b598a75fd0a56d5b5a0b4a42b55319b9a23634af0c697dbe69c7b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:337-346 | modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:146-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:337\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb54b7220cce69e2c84d7ff84b96eaca9ecddc755b0b316580f2cbedb247a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:593-602 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:816-825 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:593\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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4be6f2c425775ecc830592a4b112059ba70aeb935bfa3df0d710b349ea89ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): modules/core/src/main/scala/sangria/util/StringUtil.scala:163-171 | modules/parser/src/main/scala/sangria/parser/Lexical.scala:23-29 \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 \u0060modules/core/src/main/scala/sangria/util/StringUtil.scala:163\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":"modules/core/src/main/scala/sangria/util/StringUtil.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"962b96ccdb0e7ec86fa310fa0569c42eab34e0d6adef3f1421d11e0d8a1535b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:34-42 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:69-77 \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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b37eca449ef3bed5cc307ddc6778b21e1dc45c647f9f1d90f8f6551a99d3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:76-84 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:32-40 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fe37a0151390d93589666cf9c7a3d9cf2256c0f2c7bf335abddee016a3ec40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:23-31 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:48-56 \u2014 before extracting anything, compare \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala\u0060 and \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:23\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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"12914dd15e9277019148b2aa122602653b7628fef6a730355ddd76330480bda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:852-860 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:898-906 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/parser/src/main/scala/sangria/parser/QueryParser.scala:852\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":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"1543bda273f05b29b4300238ce045cab89599d915e5ec6469f12a955dfce681d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:357-364 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:366-373 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71095f94b72fcf255b7bf399bd0f49c7ffb42bc5d9c1bd21477c87096f7cba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:90-97 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:299-306 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc68897063368a0129e45440e449f8ceb8c1f395a6166eac1e216271299b99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:705-712 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:783-790 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27ae260c6a88815bd323c9759866749c852cc79ef130137b6b55c223393f9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:387-394 | modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:126-133 \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 \u0060modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:387\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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff61a1acc3426f7570ff7162df62ffc52fe7c3d210d73850c0beb8257d3ec3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:38-45 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:58-65 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e6a3ef84c9352984a553eb5a825e551f219f4f578f96884cf02586aada1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:826-832 | modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:838-844 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0d8bac27f395a4c25adb4d8b697a382cfab52410ade4e57f68d81b581ed11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:75-81 | modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:109-115 \u2014 before extracting anything, compare \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala\u0060 and \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"413096e9699b6a9a4b7416a49290f182aafc0c5af7191711c5f484a19c993e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:101-107 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:163-169 \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":"modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aa040ac958e71ba041bc2b096dcb1711809f86968996bb9df2b67172a4befd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:129-134 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:146-151 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:171-176 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/core/src/main/scala/sangria/ast/AstVisitor.scala:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e676e0a6e239fbde2fe9f7cd047aa804cbd6f6f32af0125f9b606e2c1135e8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:300-305 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:318-323 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:335-340 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/core/src/main/scala/sangria/ast/AstVisitor.scala:300\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":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79806f9a17765fe5384e93779ad548eb1a2a76ef9359bab2b1d30c530d0ef77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/core/src/main/scala/sangria/ast/AstVisitor.scala:264-269 | modules/core/src/main/scala/sangria/ast/AstVisitor.scala:342-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/ast/AstVisitor.scala"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7152cc09f7f1f011efc6461fe4f280193aee7f352aa9db1958c3fd0f1b6c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:78-90 | modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:102-114 \u2014 both copies are in the same file, so extract the block 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 \u0060modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322355c0c29d9bc713177492979e33f2404230d0f1d4509d11dcae740034b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/core/src/main/scala/sangria/execution/FutureResolver.scala:586-591 | modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1092-1097 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/execution/FutureResolver.scala"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"598f69a3beafce2a039edf53a5f536aafa20c8cd1fe36a6a8f2c3f1d9286e9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:47-52 | modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:61-66 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d314da2a9be087c05f41af43e221152b9d4ef3fd3120e5f6a75a4c02b3ee5b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): modules/parser/src/main/scala/sangria/parser/QueryParser.scala:837-842 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:879-883 | modules/parser/src/main/scala/sangria/parser/QueryParser.scala:922-926 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/parser/src/main/scala/sangria/parser/QueryParser.scala:837\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":"modules/parser/src/main/scala/sangria/parser/QueryParser.scala"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e3688cb080c928b657c1c9e5f5d7e72977b867633f74a8f9ec6d7b17cc3e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/core/src/main/scala/sangria/util/StringUtil.scala:173-179 | modules/parser/src/main/scala/sangria/parser/Lexical.scala:31-35 \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":"modules/core/src/main/scala/sangria/util/StringUtil.scala"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2020fcf6ddf0aa2aecae6c53484eed7137ea35fc02466a503a249a634a5f390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:697-701 | modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:775-779 \u2014 both copies are in the same file, so extract the block 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":"modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b1b43f1afda40eba80069c6af8d994dca6f28bea7404c8b5261add24edbe05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:172-176 | modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:235-239 \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 \u0060modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25506e1c26c561fc4dfb020f5991b01e23982b8f0a40b5e01adfb953a70e299"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ast: ast: abstractness 0.27, instability 0.00, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"14d764dc90e08ca0f915d2d23991a0c296d53e25292744e24eec8ffc5d5c7948"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 17 significant file(s) lose their only recent owner: modules/core/src/main/scala/sangria/execution/FutureResolver.scala, modules/core/src/main/scala/sangria/schema/Schema.scala, modules/parser/src/main/scala/sangria/parser/QueryParser.scala, modules/benchmarks/src/main/scala/sangria/benchmarks/RealisticRequestBenchmark.scala, modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala, modules/core/src/main/scala/sangria/execution/FieldCollector.scala, modules/core/src/main/scala/sangria/execution/ResultResolver.scala, modules/cats-effect-experimental/src/main/scala/sangria/execution/AsyncResolver.scala (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2e282bda71829f9163d3d092f0f182c5b911a2ec67986880db03840d322542f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: most probably not needed, so should be removed in future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveMacroSupport.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd5c770084d8b4173cadd655bbc82b0ad3886fdbc5e2dfab44cd630de770dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think about better solution \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f55e5418676ebf9afc31072943c5db9980af2e03e171cc60b6587d4f67d2f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO put version \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5e69360357c2124de5d7bc7df59390b1a2b536cc270680d6045a9e0c0ef37c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // first init all lazy fields. TODO: think about better solution \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd7148914ff3ee99187a2ba9f13e281d47c3c36119712c4373ae52588d7937a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME This appears to return the first operation if the named one doesn\u0027t exist? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/ast/src/main/scala/sangria/ast/QueryAst.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5db3c60d58efb800440a6bb3fb3196bb83e41f8e8fbdcaa16cdc60fdc89ec1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28847bfb68128ad6c95eb6a19a3df3a0787d1bdadcf090baba24802b8a233364"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04cc6ef8b2713c5ae671a21c5adfc62ed3d32eec231bd27236ea49e066082d50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"729e5bc298ad01143d3c74eded9450e85148cb8c1a021945ef116207704fc7f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa151beff35ac46ee2536907cc918a207da07c42b004fec4c9aab8d58a6df6d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36277bee0c8295bb8eb3bc0beb5fb978eebe1486d553ab0cd28084b35ebb8343"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e8a627e7020ac8119c8ec6c60ce9a9f6a161d947c9dd66552a2bad9e055ffb9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f57d1d312afdbea5e586f5c4277469ac5784f32d5ade2a108c78d246b6a0be52"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8e8b172cf327825d1cf42b544ee79199814e271b1cab65813357983ba6a8730"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"160e2c022b6238ef52ff3ad183b76fd0a9989579e03525741548023e42401129"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c1b27f444ee9d48ae76463cfd1bb763c2d0286df94968144ab53792bf5c9449"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81d0799af757bba1afbed34637d383ea39ed22bd8ff8ec5b09c5aa413595d701"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4103ac6410a3a7cd6e0b4faa805f771cf107e09dc3d354af0bf79995d1fa3ad"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AstSchemaBuilder[Ctx] (37 abstract members): \u0060AstSchemaBuilder[Ctx]\u0060 declares 37 abstract members: \u0060additionalTypeExtensionDefs\u0060, \u0060additionalTypes\u0060, \u0060additionalDirectiveDefs\u0060, \u0060resolveNameConflict\u0060, \u0060buildSchema\u0060, \u0060extendSchema\u0060, \u0060buildObjectType\u0060, \u0060extendObjectType\u0060, \u0060buildInputObjectType\u0060, \u0060transformInputObjectType\u0060, \u0060buildInterfaceType\u0060, \u0060buildInterfaceType\u0060, \u0060extendInterfaceType\u0060, \u0060extendInterfaceType\u0060, \u0060buildUnionType\u0060, \u0060extendUnionType\u0060, \u0060extendScalarAlias\u0060, \u0060buildScalarType\u0060, \u0060transformScalarType\u0060, \u0060buildEnumType\u0060, \u0060transformEnumType\u0060, \u0060buildField\u0060, \u0060buildAdditionalFields\u0060, \u0060buildFieldType\u0060, \u0060extendField\u0060, \u0060extendArgument\u0060, \u0060extendInputField\u0060, \u0060extendFieldType\u0060, \u0060extendArgumentType\u0060, \u0060extendInputFieldType\u0060, \u0060buildInputField\u0060, \u0060buildInputFieldType\u0060, \u0060buildArgument\u0060, \u0060buildArgumentType\u0060, \u0060buildEnumValue\u0060, \u0060buildDirective\u0060, \u0060transformDirective\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. Those 37 declarations carry 35 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 35 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. 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":"modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8aa5a5e837a23b1eb025050f42087843e214e4efafd89663436f25f047e7a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/test/scala/sangria/marshalling/EnumInputTypeSpec.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"303da2fc4c47ac24afff8d93d86de79911d67c6b8bc85f27b475f51e4ca6f702"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/benchmarks/src/main/scala/sangria/benchmarks/OverlappingFieldsCanBeMergedBenchmark.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b211a2b6fa8069a2e01e1bdd9b311bce759d5be41d04f0bc2062f37f56911b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(that.canEqual(this)) \u0026\u0026 cache == that.cache\u0060 appears character-identically in 2 files \u2014 modules/core/src/main/scala/sangria/util/ConcurrentHashMapCache.scala, modules/core/src/main/scala/sangria/util/TrieMapCache.scala. 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":"modules/core/src/main/scala/sangria/util/ConcurrentHashMapCache.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14da7325bf4b73d773f30a73ddde4724c9c38c8ed24885b1e12546690604a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Schema.isBuiltInType(tpe.name) || referenced.contains(tpe.name)\u0060 appears character-identically in 2 files \u2014 modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala, modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala. 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":"modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f0718c89e4a879d58d16a801a30f15145876b1ec7de08dbe976e6d437b116"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actualFields.contains(m.name) \u0026\u0026 !memberExcluded(m.annotations)\u0060 appears character-identically in 4 files \u2014 modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala, modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala, modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala, modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala. 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0873041dd1db9260d0ab1c78e4b4e3d9b00c8167814806e4ca10dc261d121553"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060default.isEmpty \u0026\u0026 isSupertype[Option[_]](tpe)\u0060 appears character-identically in 2 files \u2014 modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala, modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala. 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7452dfdc22d36680ff59a89f7e56fda27d57d4d9156ba0816af2e8b994dee172"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003C str.length \u0026\u0026 (str.charAt(i) == \u0027 \u0027 || str.charAt(i) == \u0027\\t\u0027)\u0060 appears character-identically in 2 files \u2014 modules/core/src/main/scala/sangria/util/StringUtil.scala, modules/parser/src/main/scala/sangria/parser/Lexical.scala. 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":"modules/core/src/main/scala/sangria/util/StringUtil.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe8e5f9d7179115639fe995df6dd621635ac39b60ce22b60590505bad6cf13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSupertype[Future[_]](fieldType) \u0026\u0026 fieldType.typeArgs.nonEmpty\u0060 appears character-identically in 2 files \u2014 modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala, modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala. 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed4dfa4acab0cf8d2778ab23ac2c36878f113319d87b6b0761d38576a6d63dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSupertype[scala.util.Try[_]](fieldType) \u0026\u0026 fieldType.typeArgs.nonEmpty\u0060 appears character-identically in 2 files \u2014 modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala, modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala. 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":"modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"885a20e463be18085c7ab3013003ca498bf470799c779f2662e87f820461dfbb"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 145 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-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-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":19,"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."]}]}