{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"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":"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"SchemaUtils.appendSchema (cyclomatic 208): SchemaUtils.appendSchema has cyclomatic complexity 208 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"356dd8614affdc89f7d5437ce1e88254fd9918d7beb104c8682f48ed635a5fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.resolveSchema (cyclomatic 160): SchemaDefinitionUtils.resolveSchema has cyclomatic complexity 160 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba10aa87feec5a97c8bfde580ced5d583f900627beae02c108d8bd5757efa8b"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.toValueMap (cyclomatic 98): SchemaDefinitionUtils.toValueMap has cyclomatic complexity 98 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"626cf3c7e15e0b5862888c78bc01abca17638660b6aee32998594988dcce3338"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromOperation (cyclomatic 89): DefaultCodegen.fromOperation has cyclomatic complexity 89 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4853}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052484388005b4ba97b88a7e8a1cee293e55d9a4ec4f0aef043125c974c3eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processSchemaAnn (cyclomatic 80): SchemaDefinitionUtils.processSchemaAnn has cyclomatic complexity 80 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f420ca4354d09709b463ada5ad9f20c054f237658acb2d30a28cbf5a1bbfa9f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromProperty (cyclomatic 79): DefaultCodegen.fromProperty has cyclomatic complexity 79 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4165}}}],"partialFingerprints":{"codehealthFindingId/v1":"198cfbf082a0251eb54975f3df371e82e17e4485dc96e9ed9526c3fc8674db83"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processMethodParameterAnnotation (cyclomatic 79): AbstractOpenApiEndpointVisitor.processMethodParameterAnnotation has cyclomatic complexity 79 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8fefc2a277902ee9cd60ecec369703dae3a14d4fcdfbd8870a7544adc701e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.genericAnnotations (cyclomatic 72): Utils.genericAnnotations has cyclomatic complexity 72 (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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe52e346cf413f6b120cc5e1d8dfea956ce319570385f0e196120f45375444b"}},{"ruleId":"D1","level":"warning","message":{"text":"MicronautCodeGeneratorEntryPoint.configureOptions (cyclomatic 71): MicronautCodeGeneratorEntryPoint.configureOptions has cyclomatic complexity 71 (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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"725826a1a1f8b7a3ba040d6b64dc682ba8606e2dfef6949fc7c66baf0ab18adc"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromParameter (cyclomatic 67): DefaultCodegen.fromParameter has cyclomatic complexity 67 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afd4514f47bb970135bd68b9479f53a5eb5c50ed51c4bd06ddd93767cb0ad7d"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaUtils.copyOpenApi (cyclomatic 66): SchemaUtils.copyOpenApi has cyclomatic complexity 66 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac49087b682d247506ff1c74587acc4c8382be41e63d18d84ffcd0536640dec"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.getSchemaDefinition (cyclomatic 59): SchemaDefinitionUtils.getSchemaDefinition has cyclomatic complexity 59 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15fc315c6d1502ed2a0f7a1a6083a0784a67e970837c565aa6ee67b8491d372"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processParameter (cyclomatic 50): AbstractOpenApiEndpointVisitor.processParameter has cyclomatic complexity 50 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a97f870fc8687b39cceef4c3a5a33222049d0127710995ec483d1a633a63688"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaUtils.replaceOrAppendOperation (cyclomatic 50): SchemaUtils.replaceOrAppendOperation has cyclomatic complexity 50 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5630723a627ba9723f62ab6e3cdf3247cfaafd9feb04088699201076f46f24d"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.updateModelForComposedSchema (cyclomatic 49): DefaultCodegen.updateModelForComposedSchema has cyclomatic complexity 49 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2853}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e80144e46e955cf1d49020ff678665bb4e5e7611a6d1ccc99dc2ff56533465"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberUtils.isCreatable (cyclomatic 49): NumberUtils.isCreatable has cyclomatic complexity 49 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/NumberUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe194199a3396a11d616d2662efe59b2feeec5d4f6fe6e92e981e3b66b7ebdbc"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.bindSchemaForElement (cyclomatic 46): SchemaDefinitionUtils.bindSchemaForElement has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6fd83ad56d09ebd0fbeb0c23431a6d60e7d373f8b756b007052d635fae5820"}},{"ruleId":"D1","level":"warning","message":{"text":"MicronautInlineModelResolver.gatherInlineModels (cyclomatic 45): MicronautInlineModelResolver.gatherInlineModels has cyclomatic complexity 45 (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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f307b3eacc0ca0c6deda9ab6abd582cb7af43b7d5682b0356d44a95207afd44"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromResponse (cyclomatic 44): DefaultCodegen.fromResponse has cyclomatic complexity 44 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e29dd663b6c5eaa515defd0e3fbd8c6ce14eb8a6fadaf310c53e7e7f949932"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneratorUtils.addEnumExtensions (cyclomatic 43): GeneratorUtils.addEnumExtensions has cyclomatic complexity 43 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e830b578a2569f5cc50e292d0ab062def3e99e176bb54105ecbbe64ceeb7468"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromFormProperty (cyclomatic 42): DefaultCodegen.fromFormProperty has cyclomatic complexity 42 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7657}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f2321ffc0f3194c267a82dd848fa2a51164411358514a2bb97c9327081690"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromRequestBody (cyclomatic 40): DefaultCodegen.fromRequestBody has cyclomatic complexity 40 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f3df7e84503dd8011c80a6e75f73f0e72fcdf419f0327a095014d0741f80b6"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.visitMethod (cyclomatic 39): AbstractOpenApiEndpointVisitor.visitMethod has cyclomatic complexity 39 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2412cd6ec4e9265ef550597742df2ad81fb004a0129d96bd5484e361b9f628e9"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.readOperations (cyclomatic 37): AbstractOpenApiEndpointVisitor.readOperations has cyclomatic complexity 37 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a72db515e0bee9e7f8a47bfbe040b7ef6c488eeba3f162cdbe6b95f988a0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiNormalizeUtils.unwrapAllOff (cyclomatic 37): OpenApiNormalizeUtils.unwrapAllOff has cyclomatic complexity 37 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d43bb38f5ecd27b81179b484a8ff23d81c55551a2a35dc72c582706bbba11"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromModel (cyclomatic 36): DefaultCodegen.fromModel has cyclomatic complexity 36 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f31a431b89d82f573d2bc967e035a3976f9942371ce2b509ebc04ebf607adc2"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeSchema (cyclomatic 36): OpenApiNormalizeUtils.normalizeSchema has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f515d91e01f4b392473a7ddb6bd3e1684b03715f3b0fed7f4a37907902442"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processJakartaValidationAnnotations (cyclomatic 35): SchemaDefinitionUtils.processJakartaValidationAnnotations has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"714455493f1f57c79c7824927d82d1f725696977a293e0bbcb770ccaa2b89134"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.preprocessOpenAPI (cyclomatic 34): DefaultCodegen.preprocessOpenAPI has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b082a2fef60450bcdbb983d83f90f0789ae97c484b2c705c3db7181457e12f6"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.generateApis (cyclomatic 34): DefaultGenerator.generateApis has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73d400ac0251bce1ce37f2470d4e4f26b11c4b73182dfbd1382c30880a60c81"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiEndpointVisitor.visitClass (cyclomatic 34): OpenApiEndpointVisitor.visitClass has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiEndpointVisitor.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad91461bc217c8f26a78a44822a3475b8936f144206d45a7f5f1903a20e0932"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.getPrimitiveType (cyclomatic 33): DefaultCodegen.getPrimitiveType has cyclomatic complexity 33 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"decf289481fd7c5cb6e2d154b8b73cf5b335573059b1f7dc9e5ee460c8ea8715"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.generateModels (cyclomatic 33): DefaultGenerator.generateModels 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ab972a595d9742da4b72a0497cb465af3d7c258f74da8d8a25cc763dd2b43"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.generateWebhooks (cyclomatic 33): DefaultGenerator.generateWebhooks 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeed17055f1a094e71904964256ab9db5875af68bd6f07fab964574de11985d7"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processBody (cyclomatic 33): AbstractOpenApiEndpointVisitor.processBody 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbfb1c84e59e80e1988dbebdedd90be08f0e32fc7aea7645438d3fa31fdd50f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiApplicationVisitor.mergeAdditionalOpenApiFiles (cyclomatic 32): OpenApiApplicationVisitor.mergeAdditionalOpenApiFiles has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f005d60bfa3c4d8fb6defa9c579f1c352521ebbea7b790019688c2444c1937"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.getTypeAndFormatByClass (cyclomatic 31): ConvertUtils.getTypeAndFormatByClass has cyclomatic complexity 31 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f07fa7ab2cd56e22d37e51d75aacef9dfecaf1a8437fa75d623720c10512db"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaMicronautClientCodegen.processOpts (cyclomatic 30): JavaMicronautClientCodegen.processOpts has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f09098aee5a458a782fa015bf9a68f11c60d11bf3d00b6052f9fea8f6e72275"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinMicronautClientCodegen.processOpts (cyclomatic 30): KotlinMicronautClientCodegen.processOpts has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af268362acd91ed06408a595c7f11cc285046b7de5cfc540648d526e2eef55e"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.configureGeneratorProperties (cyclomatic 29): DefaultGenerator.configureGeneratorProperties has cyclomatic complexity 29 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e68d325e0dcc45fa844e779f7df646662da3b97b5f6ceab0e97cac7e73a784"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaMicronautClientCodegen.calcRetryableAnnotation (cyclomatic 28): JavaMicronautClientCodegen.calcRetryableAnnotation has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"88870854df725cf1cee79112455ab72be3d8cadb22b27c11a1d7e73ba4c74830"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinMicronautClientCodegen.calcRetryableAnnotation (cyclomatic 28): KotlinMicronautClientCodegen.calcRetryableAnnotation has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c45b43ace69a619e1c19a5b53135a5de38235f415181c3b70ed288ee7f05d5"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractViewConfig.fromProperties (cyclomatic 28): AbstractViewConfig.fromProperties has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb6c3da4bb66fbbf38c2b73c4e6c7804f1d7fa1b35dc27950c355b006275bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringActuatorConfigUtils.mergeWithActuatorProperties (cyclomatic 28): SpringActuatorConfigUtils.mergeWithActuatorProperties has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3109f68682e5fdf297eee3c4a725821c8f78b4e15bdb67f5d7eb62356f215b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processSuperTypes (cyclomatic 28): SchemaDefinitionUtils.processSuperTypes has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1faeb63173ef6ad936736efe7f4e3577d0a04e60c1062881e3df433e2e5d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaUtils.mergeOperations (cyclomatic 28): SchemaUtils.mergeOperations has cyclomatic complexity 28 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f018ee96e0212b3309060d034e0a2ec15fc4ed60fb912859e869b4fd7fd8d77"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.setParameterBooleanFlagWithCodegenProperty (cyclomatic 27): DefaultCodegen.setParameterBooleanFlagWithCodegenProperty has cyclomatic complexity 27 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":6964}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d253402eed2f0f0fbd102d5f5c2125d4cf6965cbd15f6cf0282ea73db83f4f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.processOperation (cyclomatic 27): DefaultGenerator.processOperation has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbcb114a84d114d452b0ff93564fd06cde93b0cc55b20e0793c2aec858e8f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.discriminatorFound (cyclomatic 26): DefaultCodegen.discriminatorFound has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb8725bf65c833c7561c15274d57ee07ffba38b56397d10e0bc8bf6afd4bd7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigUtils.setEndpointProperty (cyclomatic 26): ConfigUtils.setEndpointProperty has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8273abaa789d3360bc8702b8763c7e9737b64f051dfe52ace0d8276b4f19b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigUtils.setGroupProperty (cyclomatic 26): ConfigUtils.setGroupProperty has cyclomatic complexity 26 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0b4aa82e753802e719c11e679d37ecce96853ca8e1fc222d27ef9d6ac8d94d"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processArraySchemaAnn (cyclomatic 26): SchemaDefinitionUtils.processArraySchemaAnn has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8673e3fde30740e4d0591d6d013075e2d607cdfe0a1b93df1924e780d4ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenProperties (cyclomatic 25): MicronautInlineModelResolver.flattenProperties has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0538ace8d969d9b1444ea9055c198d51845f76130f273384bcfc7e246d38fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"MicronautInlineModelResolver.isModelNeeded (cyclomatic 25): MicronautInlineModelResolver.isModelNeeded has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4718e9b64421b69ae300e7d407885997f8712381656740d58421f5756c2cd14"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.recursiveGetDiscriminator (cyclomatic 25): DefaultCodegen.recursiveGetDiscriminator has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c36e06bad819a6c0454767c481121877bd2359611ba77d0ee76d95c8b7c7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.readResponse (cyclomatic 25): AbstractOpenApiEndpointVisitor.readResponse has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fed4b32d124fabc6bfb86966fb45e101dc9ab542c63a1e11e7d5fd86da8a9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.toValueMap (cyclomatic 25): ConvertUtils.toValueMap has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fa8205cc883e8a62fd2af92dce15ad24995acdce3adc3b2482f1e76239d033"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.populateSchemaProperties (cyclomatic 25): SchemaDefinitionUtils.populateSchemaProperties has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"09007e877526af0eb9d564e724df307556432b2cece48c8d8b5ebc0d8c0ad009"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processPropertyElements (cyclomatic 25): SchemaDefinitionUtils.processPropertyElements has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"594cd692a675e81844967332390574488df0b3d32d96b4a3fd6a7841d21ba5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.postProcessAllModels (cyclomatic 24): DefaultCodegen.postProcessAllModels has cyclomatic complexity 24 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"822187160fdba35675ab806cdc44e085634adda1ebb35915ec120b7530c62a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.generateSupportingFiles (cyclomatic 24): DefaultGenerator.generateSupportingFiles has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb6089f29cb5990238206bfe5f705ce6acb51789a3dc62da32f448ba8e48d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringActuatorConfigUtils.setEndpointProperty (cyclomatic 23): SpringActuatorConfigUtils.setEndpointProperty has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5613fedd7d5de669679d95e2e576da347fb679669384abd241560dd8b3462f93"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processExtraBodyParameters (cyclomatic 23): AbstractOpenApiEndpointVisitor.processExtraBodyParameters has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d0160301d4d1114dd2ea417c22785a2414ed8467ebe41028a0b134e04225f"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processParameterAnnotationInMethod (cyclomatic 23): AbstractOpenApiEndpointVisitor.processParameterAnnotationInMethod has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c8f37120bb1381b31d2f913977825e60fc15f4d957185609cfcc827fdbd1d"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityUtils.processMicronautSecurityConfig (cyclomatic 23): SecurityUtils.processMicronautSecurityConfig has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SecurityUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf22e02ae007338046b8e4761a22b271864e04286475d9d269b9576ac38328bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelDeserializer.deserialize (cyclomatic 22): ModelDeserializer.deserialize has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ModelDeserializer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3739a79508e42425d91bd4ccfe6159f582914eb7de06d58a5c207f79c701e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.parseByTypeAndFormat (cyclomatic 22): ConvertUtils.parseByTypeAndFormat has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72b0058b1c4d609ca68a3e44255585b05085ba0e9e6178957f561862108b029"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.getJavaEnumConvertFun (cyclomatic 21): Utils.getJavaEnumConvertFun has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Utils.isPrimitive (cyclomatic 25) 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3de9848b11bd9a8bf2fa368ce71753aaf5c4b646a3f0283a1b69b95321eca"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.createDiscriminator (cyclomatic 21): DefaultCodegen.createDiscriminator has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812b4ca39ea73f439ba78fd1198cb5e5ef4d146bf9806fde2f10f843b9a7561"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.updateDefaultToEmptyContainer (cyclomatic 21): DefaultCodegen.updateDefaultToEmptyContainer has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4482}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a69a71aa97aac95d66506cf3cf131feb90e11639a65112b7ae85439b69b6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoUtils.filterProtobufProperties (cyclomatic 21): ProtoUtils.filterProtobufProperties has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ProtoUtils.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff185138b8a64d4262e587e8da6f48a4083b4b0c08ac2c7aee3ca31a74a64772"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.processSchemaProperty (cyclomatic 21): SchemaDefinitionUtils.processSchemaProperty has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4973e428a443e10177ade9816a3a5b7d1e3a649df71560ca1f7e81d05dc7cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditGraph.classify_package (cyclomatic 21): AuditGraph.classify_package has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c15b3dcab95a33000f3fc124d889441944821a1a271ee99cd207792bb823c8"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupUtils.processMicronautVersionAndGroup (cyclomatic 20): GroupUtils.processMicronautVersionAndGroup has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GroupUtils.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68d29bf214977215e6c2a6da5196ee74d95428c45eac9e7154e6d2c7a0223f4"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.addVars (cyclomatic 19): DefaultCodegen.addVars has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a9ccca3f3225d8749981922b789093c8ea98c2733d086fc8351e5574ab26ab"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.getContent (cyclomatic 19): DefaultCodegen.getContent has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d2483ea4678d6295a455be5be620b2fc102bb2fc04cbf69dbae6c744ca7d4b"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.updateAllModels (cyclomatic 19): DefaultCodegen.updateAllModels has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acba2a634c3b52a455a4a56121e9e4b5f190b6d61f7618fa4ade3e8c0e75fca"}},{"ruleId":"D1","level":"warning","message":{"text":"MnParamFormat.getStyleByFormatName (cyclomatic 19): MnParamFormat.getStyleByFormatName 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":"openapi/src/main/java/io/micronaut/openapi/visitor/MnParamFormat.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3e4b320f41469efdd822045abaee5c4732a24e8f578e9f3185ee295c285fe"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeOperation (cyclomatic 19): OpenApiNormalizeUtils.normalizeOperation has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c3e049296bb4080c5bb70d86d03ee1194e089594163de042ea63cd81df3206"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.handleUnwrapped (cyclomatic 19): SchemaDefinitionUtils.handleUnwrapped has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3516}}}],"partialFingerprints":{"codehealthFindingId/v1":"9672febd60eac3fdd3722fa5cade8d7e903948a4d221dad418734de9a80543c4"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlUtils.parsePathSegments (cyclomatic 19): UrlUtils.parsePathSegments has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/UrlUtils.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6151cf2db7dc4a5a544132118c955b59f56e5bae7b71a9df46fe19264a2b5879"}},{"ruleId":"D1","level":"warning","message":{"text":"MdToAdocConverter.convert (cyclomatic 18): MdToAdocConverter.convert has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1198e51dfd8d1da03cc40cce23b6370380b605c7900124d6054b058d8d1cc3b"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.setParameterExampleValue (cyclomatic 18): DefaultCodegen.setParameterExampleValue has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"24771d3703574be82a604f29040fe2d35014c3bf8b3de0293545225b5d291ff0"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processResponses (cyclomatic 18): AbstractOpenApiEndpointVisitor.processResponses has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab182f6f86ad56671deeb3f910afebf08d39b777982b8cbe755c6e38877bc12"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.addSecuritySchemes (cyclomatic 18): ConvertUtils.addSecuritySchemes has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbac6f70b615e503dfd0cd3f60f41176cff61578c58d9d0df52be5379ad94de"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.treeToValue (cyclomatic 18): ConvertUtils.treeToValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0179a0fa7b07e165dc40060f7e8f8d846466a8271de5b98c845d102973878e"}},{"ruleId":"D1","level":"warning","message":{"text":"FileUtils.calcFinalFilename (cyclomatic 18): FileUtils.calcFinalFilename has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/FileUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc605767701fff151f0d9c89649353a94a4be4370e0ee9c9a284c2d2412ecf6"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiApplicationVisitor.divideOpenapiByGroupsAndVersions (cyclomatic 18): OpenApiApplicationVisitor.divideOpenapiByGroupsAndVersions has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"121d5198d7f71c404b91764435e54bcaabb945e850dbf01a4de6fa6444002841"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiApplicationVisitor.processEndpoints (cyclomatic 18): OpenApiApplicationVisitor.processEndpoints has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967f595dc4fbd8fa230f23434cef026f55e1c07a62daea969ba171981cebe0b"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiApplicationVisitor.writeYamlToFile (cyclomatic 18): OpenApiApplicationVisitor.writeYamlToFile has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2f1c8bcccb8501b37dfc88d28e979cc3fed834c929c7cde89a6d3f9b100e35"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiIncludeVisitor.visitClass (cyclomatic 18): OpenApiIncludeVisitor.visitClass has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiIncludeVisitor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679cb00e7090a700b6a0109bef623a035b2208ff69caf9aa2bf1351c53a70ed"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.doBindSchemaAnnotationValue (cyclomatic 18): SchemaDefinitionUtils.doBindSchemaAnnotationValue has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2ca93e672e72056d8a02e2b6a16d8bdb0de6f606ee5af35e9a193dcb35a335"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.fromSecurity (cyclomatic 17): DefaultCodegen.fromSecurity has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9a339fbbcac890f39918ff2d6f0c7af0f5129afb0bf39ec96634c4a26e86f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.visitClass (cyclomatic 17): AbstractOpenApiEndpointVisitor.visitClass has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6451c601c8dd95875a96fce7a18a1af08dd54a3d7cf1f5a79823b7b2f341d9"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiApplicationVisitor.addOpenApiInfo (cyclomatic 17): OpenApiApplicationVisitor.addOpenApiInfo has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d0daee8398d000a080e51e52d64442382efa099ecbf8cdb48cc0143a84c63f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiExtraSchemaVisitor.visitClass (cyclomatic 17): OpenApiExtraSchemaVisitor.visitClass has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec48ed7e0aa3d7379f84499f01592e16350baeaa405d8d14e85de7f62ccc5d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaUtils.mergeParameter (cyclomatic 17): SchemaUtils.mergeParameter has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7004e70be346933fe386ee764d5be9758822af3b119e1ed3e5ab91c6cb277d1a"}},{"ruleId":"D1","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenPathItemParameters (cyclomatic 16): MicronautInlineModelResolver.flattenPathItemParameters has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6f9b6775b086fcc6ed891ac6cf27e6ffc3743845f747bdf7008ba0a5808c30"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.processGenericAnnotations (cyclomatic 16): Utils.processGenericAnnotations has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Utils.isPrimitive (cyclomatic 25) 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02602c08f760b5a7276700d272e7fff1582a93f2095baf40f44d1c69c181fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.addProperties (cyclomatic 16): DefaultCodegen.addProperties has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6288beb0c5322c9c36ef0df35e6fbe81b0006ed0f334660bdc00ca7048e4c834"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.addRequiredVarsMap (cyclomatic 16): DefaultCodegen.addRequiredVarsMap has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8380}}}],"partialFingerprints":{"codehealthFindingId/v1":"330471a80d6e961d71413b9d2a005a08b935a65feb5f41dc7d825c2d0dfa675c"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCodegen.divideOperationsByContentType (cyclomatic 16): DefaultCodegen.divideOperationsByContentType has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06c342d92bd40a9a7d7670149bad49e0ec0eef89fda7e22ce588663e988ded5"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultGenerator.configureOpenAPIInfo (cyclomatic 16): DefaultGenerator.configureOpenAPIInfo has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0f069fae46b7309a065c180fa9b555302f9e05ee1790a5af09358d3f12d086"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenApiNormalizeUtils.removeEmptyComponents (cyclomatic 16): OpenApiNormalizeUtils.removeEmptyComponents has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f8172f95490dcca3e2faa8c3312dd3874d1eb50d08612f3ac5e20fbc89cb94"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaDefinitionUtils.setEnumValues (cyclomatic 16): SchemaDefinitionUtils.setEnumValues has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c584bc251b3596909c7b2bfb62a05451aa94d3ca5225181e0d2bd1dbd10157"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlUtils.buildUrls (cyclomatic 16): UrlUtils.buildUrls has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/UrlUtils.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24e75a91fd7c7b3308c5401ceee2a202c63e5eb51410a88968393cd7bc63b76"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.toValueMap (cognitive 399): SchemaDefinitionUtils.toValueMap has cognitive complexity 399 (threshold 15). Drivers by points: if/else 77 (265 pts), loops 13 (81 pts), error handling 4 (27 pts), ternaries 3 (17 pts), boolean chains 9 (nesting depth added 293). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3965dae8bf9ae68fcbd3e5a88b9c34b1000d8edeedc7b50bc087e096e8fe7834"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.resolveSchema (cognitive 347): SchemaDefinitionUtils.resolveSchema has cognitive complexity 347 (threshold 15). Drivers by points: if/else 113 (258 pts), boolean chains 40, ternaries 9 (32 pts), loops 4 (17 pts) (nesting depth added 181). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec608fd5cecad230aca8d08ccaae576d2a78f9841f3bf9845870ddeafb6cb142"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.appendSchema (cognitive 275): SchemaUtils.appendSchema has cognitive complexity 275 (threshold 15). Drivers by points: if/else 138 (206 pts), boolean chains 69 (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f9216e923f81503af316584c3141f30eb2544c262f112b48e03c4ab6dbdf80"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processMethodParameterAnnotation (cognitive 184): AbstractOpenApiEndpointVisitor.processMethodParameterAnnotation has cognitive complexity 184 (threshold 15). Drivers by points: if/else 56 (136 pts), loops 4 (19 pts), boolean chains 16, ternaries 3 (7 pts), error handling 2 (6 pts) (nesting depth added 103). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f33b357b4af8031e2a55f180d088a30024ba2fec79944afa7b1f4c822ff669"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromOperation (cognitive 170): DefaultCodegen.fromOperation has cognitive complexity 170 (threshold 15). Drivers by points: if/else 49 (103 pts), loops 13 (35 pts), boolean chains 26, ternaries 4 (6 pts) (nesting depth added 78). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4853}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d656c8db8481adb59022ea223a9500110b4e2b70a61706ec1da06656507ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.copyOpenApi (cognitive 160): SchemaUtils.copyOpenApi has cognitive complexity 160 (threshold 15). Drivers by points: if/else 54 (112 pts), loops 11 (35 pts), boolean chains 13 (nesting depth added 82). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05c24689d426b861f5573c908491b99e1efeff39623a506078f5078c84ec01"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.getSchemaDefinition (cognitive 150): SchemaDefinitionUtils.getSchemaDefinition has cognitive complexity 150 (threshold 15). Drivers by points: if/else 49 (132 pts), boolean chains 13, ternaries 2 (5 pts) (nesting depth added 86). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4d933f33c8a0b09bba91619e103a2a5b3a7b5c548a4f0033f9e1c24b3da8d"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.readOperations (cognitive 148): AbstractOpenApiEndpointVisitor.readOperations has cognitive complexity 148 (threshold 15). Drivers by points: if/else 28 (123 pts), loops 4 (18 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 110). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca854add5973cae89258619983f2f8be2f1511bab9c117c41c4bd2607d9b6d70"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.genericAnnotations (cognitive 147): Utils.genericAnnotations has cognitive complexity 147 (threshold 15). Drivers by points: if/else 55 (123 pts), boolean chains 19, error handling 2 (4 pts), ternaries 1 (nesting depth added 70). 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e94e9040d8d1c219eec52fa346cf54bd1399e92c623364bfb7076a73539b4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processSchemaAnn (cognitive 130): SchemaDefinitionUtils.processSchemaAnn has cognitive complexity 130 (threshold 15). Drivers by points: if/else 70 (111 pts), loops 3 (8 pts), ternaries 4 (6 pts), boolean chains 5 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"323800a23341b4cd32f272ce390732974b0371329bae5a8c6f3e47010c5db47d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.replaceOrAppendOperation (cognitive 124): SchemaUtils.replaceOrAppendOperation has cognitive complexity 124 (threshold 15). Drivers by points: if/else 35 (95 pts), boolean chains 15, loops 3 (14 pts) (nesting depth added 71). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9eaff055e8c0aeed78bd1cdb1da08437f5bece963afc22fc5ff1972e0a2c69"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautCodeGeneratorEntryPoint.configureOptions (cognitive 112): MicronautCodeGeneratorEntryPoint.configureOptions has cognitive complexity 112 (threshold 15). Drivers by points: if/else 49 (91 pts), boolean chains 21 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2922534b6e44a393774cff156793bfdb7c852b1ea07897bc159c94d2abc22f04"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromProperty (cognitive 110): DefaultCodegen.fromProperty has cognitive complexity 110 (threshold 15). Drivers by points: if/else 65 (92 pts), boolean chains 15, loops 1 (2 pts), error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018393c2f4696b908a0624795f2e724bf9f50f80c2834d945ef0f4cc37df6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.updateModelForComposedSchema (cognitive 110): DefaultCodegen.updateModelForComposedSchema has cognitive complexity 110 (threshold 15). Drivers by points: if/else 38 (85 pts), loops 5 (14 pts), boolean chains 10, ternaries 1 (nesting depth added 56). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2853}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25e80a7dfee12d0f7355f9a194441edc456ca407762eb40c2e1b359a33b8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.gatherInlineModels (cognitive 106): MicronautInlineModelResolver.gatherInlineModels has cognitive complexity 106 (threshold 15). Drivers by points: if/else 38 (88 pts), loops 4 (12 pts), boolean chains 6 (nesting depth added 58). 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa77dd44910fb220f8de2471d257140aea05fbb35c086e41452f357f1815b321"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.preprocessOpenAPI (cognitive 98): DefaultCodegen.preprocessOpenAPI has cognitive complexity 98 (threshold 15). Drivers by points: if/else 24 (73 pts), loops 7 (22 pts), boolean chains 3 (nesting depth added 64). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152d7bc413af25532b7577406208733ea474779c469e8b51558d81096e34995"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processParameter (cognitive 96): AbstractOpenApiEndpointVisitor.processParameter has cognitive complexity 96 (threshold 15). Drivers by points: if/else 32 (72 pts), boolean chains 14, ternaries 3 (6 pts), loops 1 (4 pts) (nesting depth added 46). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615b628919f94dcf8ef262998db53b33ac9c79600d06c512a53d0682ef9b129"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromParameter (cognitive 91): DefaultCodegen.fromParameter has cognitive complexity 91 (threshold 15). Drivers by points: if/else 56 (73 pts), boolean chains 14, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 19). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c985c34cfcd76ad1effcd0331a9310e3f283e7886adb621a92c32bceb5e01"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.visitMethod (cognitive 90): AbstractOpenApiEndpointVisitor.visitMethod has cognitive complexity 90 (threshold 15). Drivers by points: if/else 31 (70 pts), loops 6 (16 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d98b47d1ffd51eab244934c96538596d288aca056d90e23b0f6d6dcfbf93c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.toValueMap (cognitive 89): ConvertUtils.toValueMap has cognitive complexity 89 (threshold 15). Drivers by points: if/else 21 (43 pts), loops 7 (42 pts), ternaries 1 (4 pts) (nesting depth added 60). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c0288eb7b8f2607f1797f1009ae52952075a44cc028103f21cff858006fd1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.generateApis (cognitive 82): DefaultGenerator.generateApis has cognitive complexity 82 (threshold 15). Drivers by points: if/else 25 (62 pts), loops 6 (12 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d868d831866efdbdef35c7daa8b683d7e3c146e0a9ac11c265526130d8f1985"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.generateWebhooks (cognitive 80): DefaultGenerator.generateWebhooks has cognitive complexity 80 (threshold 15). Drivers by points: if/else 24 (60 pts), loops 6 (12 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"221dc1c25151fcdf63bb0507d8d1a07e862edf91ea0fcb9ff38452e9ac20f401"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberUtils.isCreatable (cognitive 78): NumberUtils.isCreatable has cognitive complexity 78 (threshold 15). Drivers by points: if/else 23 (48 pts), boolean chains 22, loops 3 (7 pts), ternaries 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/NumberUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eacbe383348e75235e1dabce482012eb20a280b4a72b313fce598b1502ba85c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeSchema (cognitive 77): OpenApiNormalizeUtils.normalizeSchema has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (48 pts), boolean chains 11, error handling 2 (6 pts), loops 2 (6 pts), ternaries 2 (6 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd707581b62745872c48e549d9c575788646c3d1c36760a00274e18124438ed"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratorUtils.addEnumExtensions (cognitive 69): GeneratorUtils.addEnumExtensions has cognitive complexity 69 (threshold 15). Drivers by points: if/else 28 (52 pts), boolean chains 11, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9804470bbe31b2715eaa47e12d3c5aa8c40c3fc9d861efb4dd6139b90fe15c6"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.generateModels (cognitive 67): DefaultGenerator.generateModels has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (46 pts), loops 5 (12 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18872948a4a86de61b333c12ffb396a1b49ee67644601ba3ec4f6cb7e43a9a3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiApplicationVisitor.mergeAdditionalOpenApiFiles (cognitive 67): OpenApiApplicationVisitor.mergeAdditionalOpenApiFiles has cognitive complexity 67 (threshold 15). Drivers by points: if/else 22 (45 pts), error handling 3 (9 pts), ternaries 2 (6 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37866ba7c45686d16cf87d5834493a01d9d06165cc7818615bf904493a41fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.unwrapAllOff (cognitive 65): OpenApiNormalizeUtils.unwrapAllOff has cognitive complexity 65 (threshold 15). Drivers by points: if/else 27 (56 pts), boolean chains 6, loops 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a710eda2b30b3637a2489034440ee46cc0c17635901e17a1e3d332875888cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processParameterAnnotationInMethod (cognitive 62): AbstractOpenApiEndpointVisitor.processParameterAnnotationInMethod has cognitive complexity 62 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 3 (10 pts), ternaries 4, boolean chains 2 (nesting depth added 39). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b968a395f6a802a07e450e74ef605ca64ddeb20557ad75d6858b7b605e0cea9"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processResponses (cognitive 61): AbstractOpenApiEndpointVisitor.processResponses has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 4 (18 pts), ternaries 1 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 41). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"c760de641411f96e653b513ba0b7e1f44d9e8dbcc93d5b50394d210413577f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiEndpointVisitor.visitClass (cognitive 61): OpenApiEndpointVisitor.visitClass has cognitive complexity 61 (threshold 15). Drivers by points: if/else 27 (46 pts), ternaries 3 (10 pts), boolean chains 5 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiEndpointVisitor.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a384d202731393fd578d3058dc96c46a060fc51d333fa11b73094ae3118b1"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.bindSchemaForElement (cognitive 60): SchemaDefinitionUtils.bindSchemaForElement has cognitive complexity 60 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 18, ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf3a7e3098d8648a4e1da13a22bb153bbc76204dc2ff5c881d0e6936fab2c33"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromRequestBody (cognitive 59): DefaultCodegen.fromRequestBody has cognitive complexity 59 (threshold 15). Drivers by points: if/else 38 (54 pts), boolean chains 4, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8230}}}],"partialFingerprints":{"codehealthFindingId/v1":"96419f3af02d1e40b421b1063add95d2f24c144a1382557acec5eb92bb637f02"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.discriminatorFound (cognitive 58): DefaultCodegen.discriminatorFound has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (42 pts), loops 3 (9 pts), boolean chains 7 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee20de73fbbee77174076b4801fe2de75dbdd697e5453ae8859bbaf2de9dde13"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractViewConfig.fromProperties (cognitive 58): AbstractViewConfig.fromProperties has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 6, ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef45cf42ae59eb00268047f6d9957c52cb27a2d453818f55833de41eb9a443f"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromFormProperty (cognitive 57): DefaultCodegen.fromFormProperty has cognitive complexity 57 (threshold 15). Drivers by points: if/else 37 (49 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8460149760760caf661588f544fe9baef47de1ac05aea885ff99d25dd57cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.postProcessAllModels (cognitive 57): DefaultCodegen.postProcessAllModels has cognitive complexity 57 (threshold 15). Drivers by points: loops 16 (37 pts), if/else 6 (19 pts), boolean chains 1 (nesting depth added 34). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2733f8e0c03316ddc201ceb4b304db7ab80ef32e2a0c6058549614794c07f3"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.recursiveGetDiscriminator (cognitive 57): DefaultCodegen.recursiveGetDiscriminator has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cb752f702b7449c106f716cdbc63db1b48df4c98bcc69acb3433574e8b2384"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.processOperation (cognitive 57): DefaultGenerator.processOperation has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 6 (15 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bdf6b0692ded9e8e833417a248459fb2be474c329d051b563458cba57a5149"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromResponse (cognitive 56): DefaultCodegen.fromResponse has cognitive complexity 56 (threshold 15). Drivers by points: if/else 37 (46 pts), boolean chains 6, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 11). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4283b9aa9c67f0b470403c092a84a53283011218113193bf83b5b939aa096da7"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processBody (cognitive 56): AbstractOpenApiEndpointVisitor.processBody has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (45 pts), boolean chains 8, loops 2, ternaries 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c681c58e1d6d640f6c88f30fef325273651bfb8404b5cd4382187ee0c41e2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenProperties (cognitive 54): MicronautInlineModelResolver.flattenProperties has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (46 pts), boolean chains 6, loops 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f4af3164dbeb365277a6f98417ff1b921eacaa5cb39115595207d6535844f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditGraph.classify_package (cognitive 54): AuditGraph.classify_package has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 4 (8 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ba931109503e2dae7ca6283e4364b21f99fb73297caf34799f72819671c20"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processPropertyElements (cognitive 51): SchemaDefinitionUtils.processPropertyElements has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 3 (9 pts), boolean chains 8 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a37978c252a78b6829ebfacc293a039a9e492831815a161a423d51b7b6246c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processJakartaValidationAnnotations (cognitive 50): SchemaDefinitionUtils.processJakartaValidationAnnotations has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (29 pts), loops 14, boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c921a3a1cba53b6fba5d5c3de586106351056fa3669dc9746ed962bb84fcf"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringActuatorConfigUtils.setEndpointProperty (cognitive 49): SpringActuatorConfigUtils.setEndpointProperty has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 4 (20 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d975b1eb3037b121a6880bf661db43b8e29ae4ec7d32f3960994b836426b97"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaMicronautClientCodegen.processOpts (cognitive 48): JavaMicronautClientCodegen.processOpts has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (43 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"547fa3cffb0cd6315f4d93d9d996e84d404498011580788b691a1c85efeb2caf"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinMicronautClientCodegen.processOpts (cognitive 48): KotlinMicronautClientCodegen.processOpts has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (43 pts), boolean chains 5 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9daab9a8f89bec41a1bdd072ce3cb92ceb09da2e19b4dcc41b9a02b21f6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.getContent (cognitive 48): DefaultCodegen.getContent has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 3 (9 pts), ternaries 2 (8 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8152}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b51b3967656f27f24e2479dc5a618b3fdbfef45dadf0edc58b0d0b5b4a08ea"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processExtraBodyParameters (cognitive 48): AbstractOpenApiEndpointVisitor.processExtraBodyParameters has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 5, loops 2 (5 pts), ternaries 1 (3 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5e564d745756f52aae1976c4222805116880eaae22edd35097a06943567277"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.generateSupportingFiles (cognitive 47): DefaultGenerator.generateSupportingFiles has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (5 pts), loops 1 (nesting depth added 23). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b9ecb7cc782ed9e25e9b09b90c9d5037ace1bd3b0de1248e9f33eaadd5e76d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.populateSchemaProperties (cognitive 46): SchemaDefinitionUtils.populateSchemaProperties has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 7, loops 3 (7 pts), error handling 2 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fdab62ca42164edf71b8461c795a518fc5bd53d3652a8b0dc14afe990b3346"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processSuperTypes (cognitive 46): SchemaDefinitionUtils.processSuperTypes has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 9, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5f8d8ce15adf5935dc47300aa92f3a44aea7ebb147622e134f38d2f1d70108"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.getOneOfAnyOfDescendants (cognitive 45): DefaultCodegen.getOneOfAnyOfDescendants has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (40 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 29). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d0e372660d473eebacfdfc8098840104f2a0bda8d14ec9ff173f1af34b0b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoUtils.filterProtobufProperties (cognitive 45): ProtoUtils.filterProtobufProperties has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ProtoUtils.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"daad0e6ef607938ea771bac108307bbf3ab2d681061ad0de444a88263421a6a4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromModel (cognitive 44): DefaultCodegen.fromModel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 27 (30 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"63542a5dce2099c71a23cdefc459e0c9ca32ea751898d3773d36fa23f6d20085"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.addVars (cognitive 43): DefaultCodegen.addVars has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96504819a6f9aac8c6a53d346789b2362205eddf634a0aff4fd9baeee29f85a"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringActuatorConfigUtils.mergeWithActuatorProperties (cognitive 43): SpringActuatorConfigUtils.mergeWithActuatorProperties has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3fc43915a29f6432f3480854fd08b8f7c5691c2c13e3788f9cc52ab3a981a2"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processArraySchemaAnn (cognitive 42): SchemaDefinitionUtils.processArraySchemaAnn has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 3 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bddb195813ebbaf97e5b12981e4ec0f009ada0de521e538d258921af108019"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.getAllOfDescendants (cognitive 41): DefaultCodegen.getAllOfDescendants has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (31 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 29). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3751}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6081f569821ae34e248a57d39482c7e427705bf88ce809501bb1c888b71e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupUtils.processMicronautVersionAndGroup (cognitive 41): GroupUtils.processMicronautVersionAndGroup has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 4 (10 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GroupUtils.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"147efdac4526f09ec6bdf10e4d5c808aa33900065fa2c70cb34bfca515f2a333"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processSchemaProperty (cognitive 41): SchemaDefinitionUtils.processSchemaProperty has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 4 (12 pts), boolean chains 5 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e90ffbe5bda4b9bafd57a947c72f36c9507281fe0b7ec75fb1156fdb193cd59"}},{"ruleId":"D2","level":"warning","message":{"text":"MdToAdocConverter.convert (cognitive 40): MdToAdocConverter.convert has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 6 (18 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c6bde2eb452bbed0e659117b96c4064633efcc32d533adc7f9d531e0d7ec03"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.generateExamplePath (cognitive 40): DefaultCodegen.generateExamplePath has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 24). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d694dade8e9ade96576f7162421bacdb61ca27891ad9b3633b6150f9c34702"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.getPrimitiveType (cognitive 40): DefaultCodegen.getPrimitiveType has cognitive complexity 40 (threshold 15). Drivers by points: if/else 34 (39 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"d419f4aef8908f9534bc6fcc38b4e39442994462992e1a77370b381d0a5b7d16"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.updateAllModels (cognitive 39): DefaultCodegen.updateAllModels has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"41893f2a14887b375ceff97b304600d9a052e2b579c68b58665b7ddb74baed56"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.createDiscriminator (cognitive 38): DefaultCodegen.createDiscriminator has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e9de908e4317d6c7dce02282b5f0f07b81373d7b5c94caa43981bde1e7d8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.visitClass (cognitive 38): AbstractOpenApiEndpointVisitor.visitClass has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3 (10 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ee66f1d1507d4d3628db7fc78b4c947461fc9e27f9482f86ebf0a44b98e15d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiIncludeVisitor.visitClass (cognitive 38): OpenApiIncludeVisitor.visitClass has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (11 pts), ternaries 4 (8 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiIncludeVisitor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6692afa050c9db956027edd2403132d70d50e9149d435917e71463d37db9f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.computeNameWithGenerics (cognitive 38): SchemaDefinitionUtils.computeNameWithGenerics has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (7 pts), ternaries 1 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3387}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfdbf626e74703203e02f677a13663ae88ea2f8d645c5df199dc37db32b8665"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.setEnumValues (cognitive 38): SchemaDefinitionUtils.setEnumValues has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 2 (8 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c38852cf64fe722cd4c39ec06ece55902405177a4c84ccbf7369999d1cd4f"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.mergeOperations (cognitive 37): SchemaUtils.mergeOperations has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (29 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 9). 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a58f8ae920c44aea715bb890e0634179f8df776392c34a1517cac9e2b46a3"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.isModelNeeded (cognitive 36): MicronautInlineModelResolver.isModelNeeded has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 12, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad7b944980826f69695c0e723e4a61e737545aca6429d6ea022433ce6609572"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiApplicationVisitor.writeYamlToFile (cognitive 36): OpenApiApplicationVisitor.writeYamlToFile has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 5 (12 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"1811765ab66713c2d9c0e255aa37eed97e2138911d5719c4bd42b5e342d18dee"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeOperation (cognitive 36): OpenApiNormalizeUtils.normalizeOperation has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"883c92cabff003ecb2430b762c032857b08070e2d3ce0fd6aee2ba5d18dad598"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityUtils.processMicronautSecurityConfig (cognitive 36): SecurityUtils.processMicronautSecurityConfig has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SecurityUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b0e87769fd1a54832f7f93a1a9aaff8365d80ab2b67c2f7f6efc93b9438d8"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaMicronautClientCodegen.calcRetryableAnnotation (cognitive 35): JavaMicronautClientCodegen.calcRetryableAnnotation has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 11, boolean chains 8 (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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32c591b789bec5ab66f6ad0a714eb4590406c254e5dba55110f8b72d3971cd"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinMicronautClientCodegen.calcRetryableAnnotation (cognitive 35): KotlinMicronautClientCodegen.calcRetryableAnnotation has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 11, boolean chains 8 (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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"47aec9cd02fcd17991b3ef91374ab563ed7c30fc244ecb9ecce1d9c5d8f6b3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromSecurity (cognitive 35): DefaultCodegen.fromSecurity has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8e024aff662fd00da7637b955a1b461a52ba801f0f6bbbe0b88184f35f9628"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.configureGeneratorProperties (cognitive 35): DefaultGenerator.configureGeneratorProperties has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (22 pts), ternaries 9, boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ac53761c5429901b834e1d62be4c0b3aca42f3271cc8da8c3e19dbe75adf86"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.getTypeAndFormatByClass (cognitive 35): ConvertUtils.getTypeAndFormatByClass has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"b947229a4641673f4d1582fa9ed174f5a97f4ba55da7fe351832372e64193155"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiExtraSchemaVisitor.visitClass (cognitive 35): OpenApiExtraSchemaVisitor.visitClass has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb8a7e57a1259d6446d9f7903328c5ea15aec580ba301727c6cb9519456fa89"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.getAuthMethods (cognitive 34): DefaultGenerator.getAuthMethods has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf383d99174f7f4328e88a904eeab9abc926982f482771dc6e97be11077d63"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.parsePathSegments (cognitive 34): UrlUtils.parsePathSegments has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 3 (8 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/UrlUtils.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b2abc800d5a243550de6205ccb6ff9f3bd9e1a1c3879745040e800b80bdede"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.readResponse (cognitive 33): AbstractOpenApiEndpointVisitor.readResponse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 10, loops 1 (2 pts), ternaries 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123d1319254aded926226903a938ba9829c5e67a89f7d99c184b21d34052252"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.addSecuritySchemes (cognitive 33): ConvertUtils.addSecuritySchemes has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"31575ab2ee140fafcf5aebb4fcac9515032c454debb283c1ee524fc368483f80"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.calcFinalFilename (cognitive 33): FileUtils.calcFinalFilename has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 6 (15 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/FileUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b890fc81a19daa2c68b75930893cf1fcddbb91e000cbc40feac9e3815f6f875b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.processExtensions (cognitive 33): SchemaUtils.processExtensions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 2 (10 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120c1e4ec4a4c33d563da2a3d5e9c2fb0a2d07fd29435c66de24b50c9ec8db8"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiApplicationVisitor.addOpenApiInfo (cognitive 32): OpenApiApplicationVisitor.addOpenApiInfo has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (8 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"90181080701b2b01db5579ff28219e5e8b4e3c4a8ac2e017f257257271646422"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiApplicationVisitor.divideOpenapiByGroupsAndVersions (cognitive 31): OpenApiApplicationVisitor.divideOpenapiByGroupsAndVersions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (9 pts), boolean chains 6 (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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f351d24e189876c7e1b844eaa7812095f5aba78dae01e62e15c4e74aaae7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelDeserializer.deserialize (cognitive 29): ModelDeserializer.deserialize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ModelDeserializer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"222e4deab3cf7fe635ad232a4fa823b20ca6f37a544ff046e1d6c7e5e11fea17"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.parseDefaultToEmptyContainer (cognitive 29): DefaultCodegen.parseDefaultToEmptyContainer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4519}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a83899ec78bf039e978bf9118474d412db598a107f651703d4633614bf3ddf"}},{"ruleId":"D2","level":"warning","message":{"text":"1.getOverrideConfigLocations (cognitive 29): 1.getOverrideConfigLocations has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (7 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65a929ba8d1600924df990c99d27831730292c177f12a91ed95d7f4384c62c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TagUtils.generateTag (cognitive 29): TagUtils.generateTag has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/TagUtils.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"94171b44229ba23c7de0ed7fdf2558ae857921288b80b0ec3f0d0b3817a64255"}},{"ruleId":"D2","level":"warning","message":{"text":"TagUtils.readTags (cognitive 29): TagUtils.readTags has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (9 pts), boolean chains 1, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/TagUtils.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5c6e50b4c0c52e1f45a462e5941bf6d43500a89aaf731d4f3ae838e7e0721"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenPathItemParameters (cognitive 28): MicronautInlineModelResolver.flattenPathItemParameters has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f192bbd0d8602ebe22100c030467214a1d74dac83971995db6a3a2b5c2683052"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.setParameterBooleanFlagWithCodegenProperty (cognitive 28): DefaultCodegen.setParameterBooleanFlagWithCodegenProperty has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":6964}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a659d584c063cac17f6d50be49b6ee5296315fac1ffa2f6d7620b5ac7b49e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.handleUnwrapped (cognitive 28): SchemaDefinitionUtils.handleUnwrapped has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), ternaries 3, boolean chains 2, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e78f17a9bc37153b136cf9b5152ce9ad05e3cea7f61adaeac07cfdb91fc174"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.divideOperationsByContentType (cognitive 27): DefaultCodegen.divideOperationsByContentType has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c48f080e4704dbf4f8cc10f2a6bd4287fa00bd11944cb1921a99158a6c1976d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.parseByTypeAndFormat (cognitive 27): ConvertUtils.parseByTypeAndFormat has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (22 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"253aefc953404b11680a246fc4c0c790252579147cf57aeccb96f9e9354f367c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiApplicationVisitor.processEndpoints (cognitive 27): OpenApiApplicationVisitor.processEndpoints has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4113a97bb4b99d9caa48bd865f386463b51717eccf33780e46cd16ea29aa31"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenParameters (cognitive 26): MicronautInlineModelResolver.flattenParameters has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b632ebabccb1c44683955daa74dc923556295a83dff2fc78f1ec0f4f4a7e2c23"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.addBodyModelSchema (cognitive 26): DefaultCodegen.addBodyModelSchema has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 4 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7847}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bd208120a97d0a7d0208b9aa2dd2d194239d01c96b77f9b0dbab72307604ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.addProperties (cognitive 26): DefaultCodegen.addProperties has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3939}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfb4335802c0b4800392d9a32911fb750a200dfad5f161077d1aa5bca67bf22"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.addRequiredVarsMap (cognitive 26): DefaultCodegen.addRequiredVarsMap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fa30bf8c53802e220252762a936b6deb821a3e3980abd11fa76e2e6c7723f7"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.updateDefaultToEmptyContainer (cognitive 26): DefaultCodegen.updateDefaultToEmptyContainer has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 8 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc89d7808003d44d33844e0dbecd574e3d9e04e3239bef93278e7ab3a620d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ToAsciiDocSerializer.printWithAbbreviations (cognitive 25): ToAsciiDocSerializer.printWithAbbreviations has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b145b76934d0bddf0363fe62dcbdd55d358765196d2a68c00b99dff594fbc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.treeToValue (cognitive 25): ConvertUtils.treeToValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (5 pts), ternaries 4 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2956f1e661201b116529d3e44f2de4724ddc11dd53371481a22a8e9ad8f9d46"}},{"ruleId":"D2","level":"warning","message":{"text":"TagUtils.processOpenApiAnnotation (cognitive 25): TagUtils.processOpenApiAnnotation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/TagUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d2060efce9cf0f64399b2e27840965e8ee03bba2054e2e11ce99d6281030b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.setParameterEncodingValues (cognitive 24): DefaultCodegen.setParameterEncodingValues has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ded67d44ff13746e3b7c578b8f85ce95f375f8d54bdc27f9a003f916f18b23"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.setEndpointProperty (cognitive 24): ConfigUtils.setEndpointProperty has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba563fed39b3e1d383e801f946da69019943c76a99955c83aa8e147d1d82505"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.setGroupProperty (cognitive 24): ConfigUtils.setGroupProperty has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (6 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"05edf0eba71c98e749765baa4dcc5aa5bf60fe5ab15aeb937c53bd9120ed3c83"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.handleMethodResponse (cognitive 23): DefaultCodegen.handleMethodResponse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4781}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc01c2d597f3ace483132750ed0548cf4a8b46b58980a7e103bbea1c5e836f"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.configureOpenAPIInfo (cognitive 23): DefaultGenerator.configureOpenAPIInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09f5050ea4e4ce78a7ad172c2f5ff18917f59f3cf245a588bdc9432192d1ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.doBindSchemaAnnotationValue (cognitive 23): SchemaDefinitionUtils.doBindSchemaAnnotationValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"822df09a9a29d032c7d537ebc12d24db77a6d4362840d896340b5cb54a0d5ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.processSchemasArray (cognitive 23): SchemaDefinitionUtils.processSchemasArray has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5776de0ef2bc0321dcfaec7807c97d29385fc9e11a4246ae81010b828687e9ca"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.buildUrls (cognitive 23): UrlUtils.buildUrls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/UrlUtils.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d458fd4d9baf885eb9f520072925f59b54fdf24730895427a5d51525b4bc17"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.findEnumVar (cognitive 22): Utils.findEnumVar has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e59a6f00b3bbd400aa5704d06f7b553dabb1768cc8854d27156aebfa1c4ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.getJavaEnumConvertFun (cognitive 22): Utils.getJavaEnumConvertFun has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"10581db2bcb671edfddde19faa93b360e1a5ae63e5675cd2e976ea64b9ee0eef"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeOpenApi (cognitive 22): OpenApiNormalizeUtils.normalizeOpenApi has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60921190701a9ad2c7c19cff179007c01078175f14985e5d0ce021be5328a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenPaths (cognitive 21): MicronautInlineModelResolver.flattenPaths has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3 (6 pts), boolean chains 1 (nesting depth added 12). 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de1c8dee4bd2d37f02745dfe6f6dc5cd90d3330889b5a709cad8745c1898eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.getExpandableProperties (cognitive 21): ConfigUtils.getExpandableProperties has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (6 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3226b08e5bc33175d94ac8752dfe8c311076125e72717e8e1d11ee02b77b89"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeContent (cognitive 21): OpenApiNormalizeUtils.normalizeContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"773f548f48f8046fc8ea871e102f23875491e3fde619c0c32269c6acd9d33ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.removeDuplicateSchemasInOneOf (cognitive 21): OpenApiNormalizeUtils.removeDuplicateSchemasInOneOf has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f9e04dbe1a2d59732d488a33cd335a80db83505c68732cc7f43ed3d8da9df"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.addTypeArgsAnnotations (cognitive 21): SchemaDefinitionUtils.addTypeArgsAnnotations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afed8c7fdef307c8f62752f11641e802471399ed2f8cc23b6f38501991a2422"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.readAllInterfaces (cognitive 21): SchemaDefinitionUtils.readAllInterfaces has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2defbdb72d0bec9e7ec1e40ea45b4be12803954d93bb9ec3b09d5080a368a584"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelDeserializer.deserializeJsonSchema (cognitive 20): ModelDeserializer.deserializeJsonSchema has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ModelDeserializer.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e981f0eb9ea98eeeb46fb75a9d934ad7fddc7fa874bfe7779d30d877b471a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.getOrGenerateOperationId (cognitive 20): DefaultCodegen.getOrGenerateOperationId has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5988}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5d02576757189699f975915404dac1c60b786c2e78a13d5085d4a9fdd1170"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.postProcessModelsEnum (cognitive 20): DefaultCodegen.postProcessModelsEnum has cognitive complexity 20 (threshold 15). Drivers by points: loops 9 (17 pts), if/else 1 (2 pts), boolean chains 1 (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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"227ccc0f53e52ca4702dbfce5c15db95e9f1598bb56dac6743b1d11901f5a818"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiVisitor.readExtensions (cognitive 20): AbstractOpenApiVisitor.readExtensions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiVisitor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7edd103055e6c8b3ad06c96263410656e17fca283f40ac41173d9f8f04df20"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.setSchemaDescription (cognitive 20): SchemaDefinitionUtils.setSchemaDescription has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d7171ad5736a8cd3082214c84b81bb94e290e3e3521d9bf72bfebfd280ffe6"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityUtils.processSecurityAccess (cognitive 20): SecurityUtils.processSecurityAccess has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SecurityUtils.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e679cab180be23248ffcffe54457d4818805c6a39904e93fb8e32771b5edf214"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.updateRequestBodyForArray (cognitive 19): DefaultCodegen.updateRequestBodyForArray has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8039}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24b83c52cf962b89c961c6031b548c87d601eb2d2f17e6d46cc79a256b2b606"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.getCustomSchema (cognitive 19): ConfigUtils.getCustomSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d4a5817b297a9de55c0358912458cf685a6d647b50097c38663cfe7cb7d9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicRefUtils.resolveGenericBinding (cognitive 19): DynamicRefUtils.resolveGenericBinding has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/DynamicRefUtils.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"303fd83ecd2bbcd3c130d0a4d921c8f5940d4c364cb8a4317e7a49f937715998"}},{"ruleId":"D2","level":"warning","message":{"text":"MnParamFormat.getStyleByFormatName (cognitive 19): MnParamFormat.getStyleByFormatName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/MnParamFormat.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3048e1f47e32cd4f176415e7ed90d663c6475fb80af60aec8dc8731d55e6dcb9"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiExtraSchemaVisitor.finish (cognitive 19): OpenApiExtraSchemaVisitor.finish has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExtraSchemaVisitor.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ceb79c60e31c1722ed4f62defa7eed0835ac6553d4994578a61813e235953"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiNormalizeUtils.normalizeSchemas (cognitive 19): OpenApiNormalizeUtils.normalizeSchemas has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fb06fd0d7a4eb44dba1eb6d3fce8e27be882bc0c849882f9efa692cb07b7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.appendSegment (cognitive 19): UrlUtils.appendSegment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/UrlUtils.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05f8fbc71bc4ded6bd8b1ff8dcde0ea4777a35e4f371de9d04cf0a3917d7f3"}},{"ruleId":"D2","level":"warning","message":{"text":"vulnerability-audit-filter.main (cognitive 19): vulnerability-audit-filter.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a3a29eee3449f443bd601f96409fd8bfe20f82667c285418e0ab55406ec174"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackSerializer.serialize (cognitive 18): CallbackSerializer.serialize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (6 pts), boolean chains 3 (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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/CallbackSerializer.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea43d3b169bb311b49db97597267dc8b57363019c3cbce5b8b910a88339014f"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautInlineModelResolver.flattenComposedChildren (cognitive 18): MicronautInlineModelResolver.flattenComposedChildren has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c4c5a5490b6bac154a1a1c18b39a826102316dfcf1acb4f6eec7b8fbde7788"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.processEnumExt (cognitive 18): Utils.processEnumExt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f672967df64e1f8bfcbae69bbbfb9899cf3fdee4790f4cdcebf0d6bb2175bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.processGenericAnnotations (cognitive 18): Utils.processGenericAnnotations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 2 (nesting depth added 2). 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"de34e6ae2cd6b886e3cc79646e2d2a397f5a9f40b9434752aefed1bde0fd94bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromRequestBodyToFormParameters (cognitive 18): DefaultCodegen.fromRequestBodyToFormParameters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7788606d1c4137f8bd198f53ae823860d171a9b7cd69b01ea76f9043a271658b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultGenerator.generateModelTests (cognitive 18): DefaultGenerator.generateModelTests has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed18e1ed84bb3ff97c8544e96f9879b7b61809bb9549ac436df715a0323d20"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiToAdocConverter.getFreemarkerConfig (cognitive 17): OpenApiToAdocConverter.getFreemarkerConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/OpenApiToAdocConverter.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"204261d905b5cf5c3354ec1a253c2eb594852a73c43ce8107faa4622a13f1d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.setParameterExampleValue (cognitive 17): DefaultCodegen.setParameterExampleValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f167af175c41d21dd891bc82174eb53c716d022088dd0e492d17c8d2b90fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenApiOperationsPostProcessor.processOperations (cognitive 17): OpenApiOperationsPostProcessor.processOperations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/postprocessors/OpenApiOperationsPostProcessor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece3e0b04eeff1e598459600c9e895b88e00c71bc269a0e5cafa6cafa76ff005"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOpenApiEndpointVisitor.processBodyParameter (cognitive 17): AbstractOpenApiEndpointVisitor.processBodyParameter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfae0e958492d71a804d56e640e72b41f7f3e18fd3dbf3f35167976e9c84b79"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.fixContentForGroovy (cognitive 17): ConvertUtils.fixContentForGroovy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b73a9cd41864f7355907c2da98f8828a6815afe0712652c83bfec1918e7d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaDefinitionUtils.resolveArraySchemaAnnotationValues (cognitive 17): SchemaDefinitionUtils.resolveArraySchemaAnnotationValues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62d2a2cc7fdd0abf66eb9a73f28862660509691e638b1df0b97e800c35cd6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.mergeContent (cognitive 17): SchemaUtils.mergeContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"301ff1cf388e60bdefbc07300b826e863d2ad53b1aff0aeef0451aa438c3d740"}},{"ruleId":"D2","level":"warning","message":{"text":"SecuritySchemeDeserializer.deserialize (cognitive 16): SecuritySchemeDeserializer.deserialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/SecuritySchemeDeserializer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c262500ee20ef7c9dd148ea203da2849cc30edf2e0230d56c9d9b6167955ca"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautCodeGeneratorEntryPoint.configureJavaClientOptions (cognitive 16): MicronautCodeGeneratorEntryPoint.configureJavaClientOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MicronautCodeGeneratorEntryPoint.configureKotlinClientOptions) 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef796ad5735be7b25271d384923ca4e0264ca72f8adccf09cddaa7a0ff43366"}},{"ruleId":"D2","level":"warning","message":{"text":"MicronautCodeGeneratorEntryPoint.configureKotlinClientOptions (cognitive 16): MicronautCodeGeneratorEntryPoint.configureKotlinClientOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MicronautCodeGeneratorEntryPoint.configureJavaClientOptions) 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a37a51424d2cd33cff5cd2e375acb5667ea73845a497206e2be42b0a176f7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.processMultipartBody (cognitive 16): Utils.processMultipartBody has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3575e576dc4dd333c3dc3f7b2c7c555545a0c04a01d639675b5a8cf9ae92ffc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.fromServerVariables (cognitive 16): DefaultCodegen.fromServerVariables has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c2a101d9a7b27e95218ceac0f3f5a08b5e0a3793c6d6b43059f0369887e168"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.handleConstantParams (cognitive 16): DefaultCodegen.handleConstantParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":9065}}}],"partialFingerprints":{"codehealthFindingId/v1":"70286b2431717142e700cf3e6774bf7eb8925cd826a7deefba10148f54a300b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.setAddProps (cognitive 16): DefaultCodegen.setAddProps has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54a0a8f24f3cdf418d0dae3e5481eec03cfa21e60ae7332a0cc85887118a8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCodegen.updateRequestBodyForMap (cognitive 16): DefaultCodegen.updateRequestBodyForMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7927}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f0402fed5e17f8011e860dd9d82797c5b0d335814da5fca4dd5c1a7b6730c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.getAdocProperties (cognitive 16): ConfigUtils.getAdocProperties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (5 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f017cc97130d9d3cc608c86eeb2d4b8fe42e401644a2043cde35adc1b4d768a"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupUtils.processGroups (cognitive 16): GroupUtils.processGroups has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GroupUtils.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7effa1974f416995617a0fea3406866a83499c4d4eaa98684c20160337388c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaUtils.mergeParameter (cognitive 16): SchemaUtils.mergeParameter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a158e6db397eb8ce52253a3facf6b8e0cb7708124344a5233c886a62de4b825"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SchemaDefinitionUtils: ClassTooLong \u2014 2279 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 1879 over it, 5.70\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0ec0dac84b0bdb60d59442d0f695ec55b51a2fa8eb0e409c1dfc0ba7cb21c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/SchemaDefinitionUtils.java: FileTooLong \u2014 2524 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SchemaDefinitionUtils (270-3680). The bar is 500 significant lines; this is 2024 over it, 5.05\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2ba35b13e7b475c8afcbec2350cbe6dbfe3481ef4698c862bd3c0702741c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDefinitionUtils.resolveSchema: MethodTooLong \u2014 resolveSchema runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8958f592981d2dae778d9794046b94c9a9f8c6e6a0130f8fc02254a7faf6718"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractOpenApiEndpointVisitor: ClassTooLong \u2014 1209 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 809 over it, 3.02\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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"caef4ceb76575d683b4bcd6fb10cd0ec4886452b59c4ab89d2ab295c6d6435fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SchemaUtils: ClassTooLong \u2014 1140 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 740 over it, 2.85\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4105faa4d72688abf31950b74baa823e2e1ee5ccce60b8aebf32ab43ef10242d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaUtils.appendSchema: MethodTooLong \u2014 appendSchema runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c322aa9dbcebf3dcb02db04ae4a75166436f86204375d5bea4ab9dd70bd3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/AbstractOpenApiEndpointVisitor.java: FileTooLong \u2014 1393 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AbstractOpenApiEndpointVisitor (210-2170). The bar is 500 significant lines; this is 893 over it, 2.79\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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d6486815010915b88fa2ec0a36afd123b2ac2d67091649d89a3929f45d4185"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDefinitionUtils.toValueMap: MethodTooLong \u2014 toValueMap runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"57740bc184b434b4350f09d563039db37efda86fd60afe9bbd1c70307de49ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/SchemaUtils.java: FileTooLong \u2014 1211 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SchemaUtils (96-1797). The bar is 500 significant lines; this is 711 over it, 2.42\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386421c7d5269316a47109745a9c7ea646b5369aea70f376cbbc2efcae19876"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigUtils: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf8398d5128470d714c956c5972a8b6d082411957e24656b174c9439e4ac9f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConfigUtils: ClassTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 511 over it, 2.28\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6799e8fcc13acaeeedda7191558df9dc3cab0f93b59120cec5a2f3de058577c2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MicronautCodeGeneratorEntryPoint: ClassTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 465 over it, 2.16\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe894ca487133e46f512d1917869e80dd48692e3cf7fd444214fa78f2dcb656"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/ConfigUtils.java: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ConfigUtils (188-1655). The bar is 500 significant lines; this is 574 over it, 2.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af3e1ddf6dce1ca2d85c4b821d1aeead60e7234f0a2f34859ef0e927090b960"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchemaDefinitionUtils: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2655ea68703ec1fba0ba43caae222ffa59fc0088cdee46e7dcd97e36c299c55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToAsciiDocSerializer: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"93295c9d51ec7071c8d466161084114de800776c4b96acd98d6502d25cee70ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultOptionsBuilder: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. Most of these members implement generator.MicronautCodeGeneratorOptionsBuilder (58 of 59 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42b2511364ca06b183d82f7725fbb8c36b839ccd91300f74ca9a3b0ea7f77f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDefinitionUtils.processSchemaAnn: MethodTooLong \u2014 processSchemaAnn runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0bcc26461e5f635385cfbe60e9e583fff03cfbf002ba3f51347270360493c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/MicronautCodeGeneratorEntryPoint.java: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: MicronautCodeGeneratorEntryPoint (42-1221). The bar is 500 significant lines; this is 384 over it, 1.77\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42012f603860ab80d8dc9a24c4c059675bca029d4684c1a94cdc314267020b63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractOpenApiEndpointVisitor: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e9a11c589b8c0eb0179e6f8d1bd9cc465545109a7a2364d96048e33d909ca5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractOpenApiEndpointVisitor.processMethodParameterAnnotation: MethodTooLong \u2014 processMethodParameterAnnotation runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff2489d7877792574a11b3a66c8c36942e4d1584e4fbc096746268935658c6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MicronautCodeGeneratorEntryPoint.configureOptions: MethodTooLong \u2014 configureOptions 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d10e35a1548e410dd09a559ac244869468959fa00968f9bd59f93fbee9f53"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenApiApplicationVisitor: ClassTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 261 over it, 1.65\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3e3faf4b90ef14839595e7b27d997aa43d6fb4e1e38c5c02a45b9c483c91db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KotlinMicronautClientCodegen: ClassTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 239 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b25d784d1afb6198c4f8676e8f6e74d5e7d9c3dc33be05c4e771e352be8cc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDefinitionUtils.processJakartaValidationAnnotations: MethodTooLong \u2014 processJakartaValidationAnnotations runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"c527947075064fdff690e58987c656a5255d8278ff3a77864a947fb9aa03e4b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/OpenApiApplicationVisitor.java: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: OpenApiApplicationVisitor (155-1179). The bar is 500 significant lines; this is 290 over it, 1.58\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ea7c710208392ca40e2b595c9e666bfe839e853ea2d6fcf4825daf3e85b774"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDefinitionUtils.getSchemaDefinition: MethodTooLong \u2014 getSchemaDefinition runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c642d0a4960b2942b8937e014cba95ae63119d45242857092a670a4ed23faedf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utils: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"openapi/src/main/java/io/micronaut/openapi/visitor/Utils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9b0b606b770225deb02c5c76f2fb64d32cefc83995bf1bb0c58db8520d9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Utils: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 198 over it, 1.50\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2925644502f3b0b008acfc8578dc60d2c757ac4d97f2e6447a5b4c1f6581805"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MicronautInlineModelResolver: ClassTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 187 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8c7c2788e43d3ea8ede996728824dd6fb30c2113dc3d67e4d1f995265d6eee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Utils.genericAnnotations: MethodTooLong \u2014 genericAnnotations runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada6a3f3c07f5fba7d6f31ad495ffec8efdc7b7c3a08d1f16b23fc84651dd764"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JavaMicronautClientCodegen: ClassTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 177 over it, 1.44\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a39385ed57b8a5190373d6d80802ffac2926a286f19c53677ee88ef6e7e2275"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchemaUtils: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e25387c868440d32b97b4d000da369fadba7c96bae556a8f5feb97677a618d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElementUtils: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63886936431f9244484e345743598ca45119a64faee33889c9019462bacb4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaUtils.copyOpenApi: MethodTooLong \u2014 copyOpenApi runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a83e8f933de4e507d1b70595f07c43d9bd75346a10e4337e66740c9f0dc50a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/KotlinMicronautClientCodegen.java: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: KotlinMicronautClientCodegen (51-947). The bar is 500 significant lines; this is 167 over it, 1.33\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fed19758e81e3f7d714c4afbbadb7b49cff20cf70df1710b9fea299531af19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utils: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"51456084838146e581be3832ed33a97209ff6f0c1901933054b5b21b5dbff837"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/Utils.java: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Utils (53-917). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fc3c187869e6dab261d08a1218178800bac8ac616efd0a7d343e8ef435d989"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/MicronautInlineModelResolver.java: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: MicronautInlineModelResolver (58-1020). The bar is 500 significant lines; this is 121 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e7361b68234c496b7ab3f589cc4bb7aa4852a1ee80945925efd1c220dc65f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultClientOptionsBuilder: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. Most of these members implement generator.KotlinMicronautClientOptionsBuilder (36 of 37 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"183859771746cc7899241fd5f94eb852a96f4f9e72c4d7cbc003550c47660620"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenApiApplicationVisitor: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"673797fef260c24713e1b9c346591441d7e654477fc83a20487db6afda6ed150"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/JavaMicronautClientCodegen.java: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: JavaMicronautClientCodegen (50-865). The bar is 500 significant lines; this is 104 over it, 1.21\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8507255f4219e1cf3b251ef69a53454da9658241e1d47ab7fbce0682139393"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KotlinMicronautClientCodegen: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a31c313823622e9162fe05ce7f261543e9a32117ea053ac91813f6287100ea8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MicronautInlineModelResolver.gatherInlineModels: MethodTooLong \u2014 gatherInlineModels runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efbe4d6dbb9f7e57e5987449b250daa9caa1bd555ef5e440f321c0c02776e83"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConvertUtils: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 71 over it, 1.18\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9024dd5b93648eddcbd2031470105be305daa12f0bfba00f199f780da9f55f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavaMicronautClientCodegen: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"507839a87257fff979e1f906388f344312196eb17bd64edfb0585a1cf59dfdc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenApiNormalizeUtils: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3479f9bd6e18a2cb9bc87169984c076f416af3daf10fb52b12c19979b30168c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/ConvertUtils.java: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: ConvertUtils (128-862). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ad7234b24ece437926b7f7e892c23873ffa16d11768d83e057a73a7695130"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchemaMixin: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/mixin/SchemaMixin.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf32574f0170a13e7b1bfec4c68219805be19a318676d0d1352a1be717fb102"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToAsciiDocSerializer: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 47 over it, 1.12\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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08edb22af6367be92b951f9292b266a40b24207c21450f543f3bdcf49d64247"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractOpenApiEndpointVisitor.visitMethod: MethodTooLong \u2014 visitMethod runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a625d22f1ab29e250f4bd63239f1143a1b946ef886fa228680666a9ec90c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementUtils: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498aebd11ddd6c58d351bc75546daf3c94f20d2ddd2ceef40189f847b39033f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchemaConverterMixin: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/mixin/SchemaConverterMixin.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1f28cfe69f2905f92b158cb6996b414fc4b1abd9f4cbc2808638a42b1eb0d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KotlinMicronautClientCodegen.processOpts: MethodTooLong \u2014 processOpts runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670ef4f422430e0949e0610ec1a47b065aa170c8c033f5b8adbabb39eeae71c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultClientOptionsBuilder: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. Most of these members implement generator.JavaMicronautClientOptionsBuilder (30 of 31 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d926ad2b1d2e4f4ac3b5cc176c8e2994a320649867cd8851f954d007493924"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractOpenApiEndpointVisitor.processParameter: MethodTooLong \u2014 processParameter runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8146ec5f15ff52f1797270a91048672645127b2c5db25ce4448c3c4d1261a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitor/OpenApiNormalizeUtils.java: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: OpenApiNormalizeUtils (60-787). The bar is 500 significant lines; this is 1 over it, 1.00\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9456b5f08ad1e6dbbcc68c256a5d29f88093547ccc7be0fa460494c02bbd2384"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (138 shared lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:702-862 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:864-1021 \u2014 These two members are variants of one another: 138 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"af35ee127d0c4eed80eac9bae07838ca560a2935bb83af6878e1f48f46f60c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:291-369 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:282-361 \u2014 These two members are variants of one another: 64 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"54124eb5042e4bbe99c33cfea7cfc6f6da083406970a3e68964cb0f3f88af7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:334-436 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:438-487 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:489-530 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:532-581 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:583-638 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:640-670 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:672-712 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5544276543ce5194348f707563beba82de5aa7372af0e885f14f75b903e64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3199-3210 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4109-4119 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5207-5375 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8230-8378 \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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"511acc9704d7563b1a085afb2b5d5f1cd4d95101906d9a5d88b413994c4ce8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (150 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:242-391 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:256-415 \u2014 These two members are one piece of code written twice and then edited apart: 150 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df64a7206855cfb08bad1fb0f11d8c4a27b56c36e71fa312f704cdf10cbf489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:393-458 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:417-482 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c32ae2a739f67d63b2f363c97282a6478a1acde247f3e212bfc70c895c9c03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:110-160 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:114-165 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fcf8cb96f92f14a29d19ff5c33ed7ee5bdd2ee565046d1ddcbf373fa7479f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:551-615 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:617-670 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7ee5677b255f6ce998283a45b7c9363f96c861c55ea527653efff3f46c6be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:252-298 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:300-351 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b83108b5556af5e3503d2e519ab8193a33da8ec90e02c55197dac0ff062935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:213-243 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:254-290 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a61436bc7424cd8dc150e581a3f3a8348f8bc7dba2fb9e519db8a08c4ff4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1675-1717 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1719-1761 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"71db4aff9af16df9c490e8b15a806392ed53c8d08b65046560c7f187eefe0bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:221-255 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:457-495 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9830fb93e27ad5d3c4a715d498aa9651a474e913544a4a65a39d2620ed959df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:464-493 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:883-916 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d590f5b2259df6d8fc7b8acc9e486f6e22e6428918e8f6714b7e7c8f77bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4072-4098 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8096-8121 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa9bc04d70a0a61c8c483ddd586fe7cf294486a5cb6c9f6a654801f3f239ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:380-409 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:411-442 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"775e57e5ca89e15c4376ac8063f419e8b8e2dac3e67c77dfd64507dc78fb64d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java:43-68 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/CallbackDeserializer.java:43-70 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/PathsDeserializer.java:43-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf214d758b8be9bfd082353200bbc75c5ec40387ce643cc23e63242e28fa6d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:120-133 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:137-150 \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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ce7b6e65e257890289d8c8c40b1ac2158c48885b0e3b4c3b010e00fa221552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java:103-130 | openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java:132-160 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c771f55aedec8aecfa14be8feec2736f57557efa582560ef310c141f3f8c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java:137-171 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:552-583 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6f1d05e53878b84ba74195dde8c0db3a0c24baa929e99165aa5fd869f7cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:647-678 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:680-705 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ba5266d815c3837f9e9f739932f952910f08424ae275a8dfcfd63da3f2d2e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java:315-331 | openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java:334-350 \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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759c4c181e97c5a33b246f6c6cfa2f152cec079721fd36c111742c8dabe580c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java:35-52 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/PathsSerializer.java:35-52 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c572c74e147423b5ab44b2596b3722da2fe7513125b84443ed6bb2a6175ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:101-117 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:122-138 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade8eba49860f7be78094bd1485fdccaed14de9c1857f34dc885caad2e1c9792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4674-4695 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4702-4724 \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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4674}}}],"partialFingerprints":{"codehealthFindingId/v1":"c412affcb19a4d20babdeae80789a4550c1bf161e826b1932c14f5fb4e60bf2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4575-4603 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4611-4640 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4575}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc593313085956ef357b1245acf7d5544f614f4b708ca1f5ed06f27fdfb5d19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:468-488 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:494-514 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:516-536 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:542-562 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f678a3fbdd3432f7bd1357045c9e13f3b6121710ef3a2125914a2d34302ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:86-99 | openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:123-137 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4986fb55359fd886fe1af32d926931bb35acee613a1e103bb63cae5df2b1467e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java:178-189 | openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java:249-265 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c133e751371db1231f91944bf043892fd1caeeaba31d0203faad163ba7bd4160"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1706-1729 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1731-1754 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564feeea50f7b857324abe367d5421cc1ae567f66503b5e76fa96e8090c496f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/PrimitiveType.java:100-107 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/PrimitiveType.java:116-123 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/PrimitiveType.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9af221bb5d96f13d5058483b1639699c8d4c46c2daea22c43e154504c7ddde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:106-115 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:127-136 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf03517cf91d0497045689cfec2bf6b75bdf199899c6c322b5d0089a9bd98f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:62-72 | openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:74-84 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3a2718a82d4fa587456087cce62426a2a7d91e7042a3396b1d2ffe29541d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingPropertyStyleEnumDeserializer.java:46-55 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingStyleEnumDeserializer.java:46-55 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/HeaderStyleEnumDeserializer.java:46-55 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingPropertyStyleEnumDeserializer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc88bb814f46c180c3f3e1d1faf502b88991db9197e29b695e3289231c8a6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:801-816 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:954-968 | openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java:90-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56a7705a76cbb6c0a3fa76e450368065a51ad9380e41953b4652eed623ac0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1793-1805 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1815-1829 \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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce6b59c58ffdd1f4bc728774178734a0e22a92082a8b7f8125c67eefa690291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:1041-1051 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:1061-1071 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"22040ebffb9e70a95a254fbafc2927b21e9e2ca7f28e7bd18dd405d2ab3bf9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:633-646 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:648-666 \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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"669056cbbab6d0d095d3252097a17a129f3636cb8e6eb32e92bec5316fa431ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ExampleSerializer.java:44-54 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java:44-54 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/Schema31Serializer.java:44-58 \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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ExampleSerializer.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d25100e739d9ec3fa4236849cc2ce0cf6e9b6f305f1fda26bdf0aabbb9dbe72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:707-717 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:719-729 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"27153aff70c643c168496513a0f8216126b2b812e2ed43a05f3eff29388b273e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:796-829 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:866-905 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f7fe52a3d84b56763cd890d2bc0335dada3db6f52011ca7f751df3a82ee315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:294-303 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:370-378 \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":"openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"941798d3e10884b328b712ba5e539e7ab81f83981a04fa1fd8fb6622d7f9f017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:328-334 | openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:1863-1869 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3352ad9ca44b32175dcac4dbd0873f5182b1eb0bf3735240ab0a214cc9736af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:1337-1348 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:1350-1361 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb044e3533a997a00ae4f44d075e5a3b888f4ac6b09ae9e979ea861416e2382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): openapi/src/main/java/io/micronaut/openapi/annotation/mappers/OpenAPIManagementAnnotationMapper.java:45-56 | openapi/src/main/java/io/micronaut/openapi/annotation/mappers/OpenAPISecurityAnnotationMapper.java:42-55 \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":"openapi/src/main/java/io/micronaut/openapi/annotation/mappers/OpenAPIManagementAnnotationMapper.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7a88da5d161ac4a09d4d4efd247af1310aca8be15fc8cfae8a59e23fcf445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1801-1809 | openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:147-155 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dbabdb1303019ad4790cd7ff6f6701c34d845e93a8a5be3413b0455c63c37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java:173-183 | openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java:240-251 \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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a3f461beb7563f785d4d2112ec5612b4bc10f3945ab58f00b748b5f06ce68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/OpenApiExplorerConfig.java:133-137 | openapi/src/main/java/io/micronaut/openapi/view/RapidocConfig.java:386-390 | openapi/src/main/java/io/micronaut/openapi/view/RedocConfig.java:149-153 \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":"openapi/src/main/java/io/micronaut/openapi/view/OpenApiExplorerConfig.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71fbdb74d1491351c58b9ebad1623b0c8d031af2ae17461bd714d2d2fe3bda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:177-184 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:182-189 \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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3834d35f33f5dc5faf289505e04a424555783a35e01c1b1137f22dc21a0dc4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:2077-2084 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:259-267 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"066fe6726ec04398351964fbe1060a5844164ae3495320f51ed3aa2d6a6f43e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): openapi/src/main/java/io/micronaut/openapi/view/RapidocConfig.java:183-189 | openapi/src/main/java/io/micronaut/openapi/view/RedocConfig.java:120-126 | openapi/src/main/java/io/micronaut/openapi/view/SwaggerUIConfig.java:152-158 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/view/RapidocConfig.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"da81006d9f0c86a0f507078d8eddf33c871e7620d2c4282e3703b5b6dc0edb0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java:230-238 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:616-623 \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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/MdToAdocConverter.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed5e79ea7c3eb92b3fcd54b316a28526ebceecbe5c42c149d7ababb598e566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:154-224 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:257-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:225\u0060 calls \u0060setRequiredPropertiesInConstructor\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:328\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875e6bbc829c2b9f09adc058b8c7d9cbb122c8de8b8cc916c6488d8b41a4dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:259-320 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:278-339 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:259\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b284cc05a8dccb50196a0a382259f09c2c3c512ed9c241c7b5732604a9b742c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:811-862 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:970-1021 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:811\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e10c935989cb7ad78af3ae67ff277629e1ca03878442636c3538dd9b7ff389f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:413-444 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:437-468 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:413\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac28215c394a20da9d886af828b4339f228deb98454a5c83147c4dfc6c6e118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5482-5508 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7701-7726 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5482\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5482}}}],"partialFingerprints":{"codehealthFindingId/v1":"21837532e329d9a6e0a8760da9e4cc0d9ef6a4286bff5e5d6a5a99b64335f1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:772-802 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:931-961 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:772\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"55db69fed10c2846cbd24e8e75974d957f06b1c010d1ed5b9b0a7b8246f66ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:339-363 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:331-355 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:339\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7bb1dcce3b5f738045592856c04bf3df752e5e201a6b6b53c9f785591227d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:575-598 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:641-664 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:575\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4bca4cccd28447e339beb55b169a2bc0fa7e3840b7486b72fd7a0f255933a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:200-229 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:213-242 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:200\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7cc50fda1668ee4f2ae421f108a37af564340e91ee29c3f0e6612f1b35b659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:352-372 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:399-420 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:352\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0ec3c3f1f9bc3cf947b7e7a61f7bc0fc4504d3a4277eb249e0a4154d90c0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4435-4456 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8348-8369 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4435}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f64a8aeb06151d2538c326372fc01d227b249f3af5243d187b605d59ddc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5642-5663 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7727-7748 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5642\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5642}}}],"partialFingerprints":{"codehealthFindingId/v1":"24481bc6a9dcf0d5529f394b1cfeed9ed31e5a0ffd3e2908f44694a02c350ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:134-160 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:139-165 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:134\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4ef257e6d88828cb4d7a59a19f732ea6d8f2639649e6a241c765eb1182ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3524-3542 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3550-3569 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3524}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6733700f402ace96abe953935c6b74c6906f40aa058c4679fece05e1291b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:562-581 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:619-638 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:562\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99ab19e67594a43495d40cfd20127e860d6ffdb198f6a9460630eb8c774d992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1677-1694 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1721-1738 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dd63032d26f5a429b98ab4f974140e46ec26a55cb9eb2f51733c394bed3456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:535-552 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:586-603 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:535\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:604\u0060 calls \u0060getAllowEmptyValue\u0060, \u0060setAllowEmptyValue\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:553\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a0a01b0beacabe203b5c33e2e40bd0f28a0b921875880a4ef53e54c74fa34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:334-350 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:357-373 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:374\u0060 calls \u0060normalizeStr\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:351\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"130344b5afeb74bc8da61a5f0922cf039ffb43b4e80878d8344ca2ed6e2a8c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:306-322 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:298-314 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:306\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef2c24098eb93e9bfefc03b56f9bfafcc46fee1c434242c581753d95b3ee0b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1697-1713 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1741-1757 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64d3f5b557790f1360c25c3c8e75a30ce50d80b455743869a6f8b33394b6993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1389-1405 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1433-1449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1451\u0060 calls \u0060getHeaders\u0060, \u0060headers\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1406\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a81daccfc3d644cf47061f09ac47da56ee80c8fecf418da143bc08ba4a48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:351-366 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:375-390 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:351\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f64e4e5669752b206f136d4a088cd415b1bb099fc874f94d9636d702017798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:259-273 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:255-269 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d41d75b6095933435c9c001289d5e5cc9c7a78daa45e781a98a2784106266fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3618-3632 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3647-3661 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3618\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22d8425a1b6ff75aaa8ee83e0095325ea86ec0e18282c4a1d4264bb13b9ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:396-409 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:426-440 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:396\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":"openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df40249d08d07a9756541b7374ecb32b0013f6bdfb661b38dcc8a51b068e433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:474-487 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:498-511 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ca86f5b58bf9acbb0f3a4276c4087b085cade8aa9725e2545b8855b595441e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:498-511 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:518-531 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:498\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"036389c59e606457fe3bac5923044f872affc44e3d16b82e24db09be2cac5ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:440-452 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:491-503 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:534-546 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:585-597 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"73afcbcf36188bfb3ae4d333b51451b29a172bdf3ba02de5ff661f59aa8d727d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:325-337 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:317-329 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:325\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f52c72e8af3f16898be8793842f62d43db0f4cb5d41a210d85fda35cab1872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:236-248 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:337-349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:235\u0060 calls \u0060setGenerateSwaggerAnnotations\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java:336\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorEntryPoint.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0af70ec4f7c250c67d6245621fe067ed73186b0985d0cec0f69feea99acfce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:727-769 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:886-928 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:727\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"774b34250833e806151f4e8e73b6771ab78edb16a072b4eb44f6576dcc4b4a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:139-151 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:226-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:225\u0060 calls \u0060values\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:138\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c84715843844217bb732af2b3b31ef1b811cde8de5982b4a47ca4ab4bfc84bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:2229-2240 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:2278-2289 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da74e2c56c245682776f10ebb7c59bc7920e2b4844fea763c2cf8c9a5d6f1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4073-4084 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8098-8109 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4073\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4085\u0060 calls \u0060isPasswordSchema\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8110\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4073}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cd4365d753ea1b344f38660eaf31c362ef3ba3c7cf7f1bf62a13c347fcc3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:240-253 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:364-377 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dad43c0ce786f0f119f932143f634a1a78b5a1169e444ed76a6ee7e70e5f223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1893-1904 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3269-3280 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e62efe48c45f98d0fcde3145a526d58d7a82ca0e3e9388bab9955f6fced12a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1707-1718 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1732-1743 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1707\u0060 it does not close everything it opens, so those exact 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 \u0060l1\u0060 to \u0060List\u003C?\u003E\u0060 in one and \u0060List\u003CSchema\u003E\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6244d361162f680d3466e74fb49da2eb93fbb21f0616f67b337e68f4efb925a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiVisitor.java:116-126 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:219-228 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:237-247 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiVisitor.java:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiVisitor.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8e2b2ba10a828ae1d6ce9b2d86c53d2644d14ac87cdecb22191843d0096d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java:42-52 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/PathsSerializer.java:42-52 \u2014 before extracting anything, compare \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java\u0060 and \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/PathsSerializer.java\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java:42\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ApiResponses\u0060 in one and \u0060Paths\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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c1d8fb07ccae8d5ddd82083c76f37197bc6e2114472ffd764f1c9cb7bef05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:188-198 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:193-203 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e068caf269580863aa33a85ad14dfc2ebe8f926b3545ff4cae1c4f5a28f1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:271-281 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:324-334 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:271\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbaca4619d933ada40d0c488ad9f27c031fc70391f7af5fc519e80ad26a4eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:286-298 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:339-351 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:286\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"954591e09f7d8e45364cce2873f023ded82e9ce4a20ade9a23b1cfd2e195da42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:475-485 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:893-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"363fb8d16fa051d0fe7f1886753bec4635c081605352fe0f79f473be327e63ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5305-5315 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7695-7705 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5305\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e2b83eb5d76b4104508c93b90c35d13a9295816aac5838b5339b9c7aca1fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7983-7993 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8016-8026 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7983\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7983}}}],"partialFingerprints":{"codehealthFindingId/v1":"da67ee3f7f85968057975b8fc944ba69e726e7cc785780987e42a9da8320b753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:710-721 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:872-883 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:710\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f05c3e1a3c209755855a6db98fb3a95b4a648615374059d97bbd59a2d7696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1867-1877 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1918-1928 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c4d3d8f57e69d75a65a25f1e3bf417717f89f1fb34f389b8bde50b66757a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java:147-157 | openapi/src/main/java/io/micronaut/openapi/view/OpenApiViewConfig.java:566-576 \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":"openapi/src/main/java/io/micronaut/openapi/view/AbstractViewConfig.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7823a47ae7dd3c8d9f1b7fae71d17d135276f08c2ff2a29f77ccef3b5e158ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1288-1298 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1304-1314 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:1288\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8eb179a647110cea1de896dbd7e20ee9dfe28a2b144c2ab76715c68a08e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:460-469 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:497-505 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:517-525 \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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:470\u0060 calls \u0060equals\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:506\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0afc2e605c5d7cfdcd4815bb5befd8e239c82d2431ac383a234977777165b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java:316-328 | openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java:335-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java:316\u0060 it does not close everything it opens, so those exact 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 \u0060node\u0060 to \u0060RefImageNode\u0060 in one and \u0060RefLinkNode\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":"openapi-adoc/src/main/java/io/micronaut/openapi/adoc/md/ToAsciiDocSerializer.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1d78f81ad25526756e62fd7b29e2c73e28e7337274b6519ebc99e3f8770ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:112-132 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:116-136 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:137\u0060 calls \u0060add\u0060, \u0060newBoolean\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:134\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbecd071dd70c90a9bf6a4c87a01993d0689b7fea2100649e4421fb2f690d889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:295-303 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:286-295 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d3aced67f752ec217693e7420f022ba602f6e978eafac3a203816e580d68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4089-4098 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8112-8121 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4089\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4089}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a681885c2f754283aeea561c43a2cdaaea53da8ca78632a563ee17ca6cda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1129-1138 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1154-1162 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1129\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"38baf7f988bd356798562513fd1f222c201e0fdb0b3df46ad1d5edaaede981b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:294-303 | openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:305-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java:294\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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"682f5a492f79d8448f16c4d66b7994c7c3e314b19d3d6820230a82f7d5d6b0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:193-202 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:222-230 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:193\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"89071088a4ce91191811f1860147bea63837549b2baba2b6bc0078fbc6d31853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2857-2866 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2867-2876 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6d9266cd458e17644083ef516b63c1f4dcedf42abf53cfbc7b88f087484bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java:46-54 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/Schema31Serializer.java:50-58 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/SchemaSerializer.java:48-55 \u2014 before extracting anything, compare \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java\u0060 and \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/Schema31Serializer.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/Schema31Serializer.java:50\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060MediaType\u0060 in one and \u0060Schema\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/SchemaSerializer.java:46\u0060 calls \u0060get$ref\u0060, \u0060isBlank\u0060 and \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java:44\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4969c50c2617c9330584e47825b16b616346039ff69edd90bf01462e3754d5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:3201-3210 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4110-4119 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5331-5339 \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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93620cc90198fe12e1c9440f93528079369f3ba86c7e200cb2a8f01b1f10abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4087-4095 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5319-5327 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8110-8118 \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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4087\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4085\u0060 calls \u0060isPasswordSchema\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8108\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4087}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ba56b59879b1030e96cc0e7789c9c3013a0dad6749b005470064a610afe3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:395-403 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:419-427 \u2014 before extracting anything, compare \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 239 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:395\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c1a0752676cb586403f96cbaf37c2f3cdcd1130c2fe4444a5da52702bc34bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:5331-5339 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8283-8291 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5331}}}],"partialFingerprints":{"codehealthFindingId/v1":"214d7dd11eb885f8325e3b1cee75cb6a06822cc80caf5425eec35dc4551ea130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:260-268 | openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:1828-1835 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:1828\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"39df067a9bac02cf65a10051a72d6d874415864f2d9e69f9c19a8584a2f42b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:64-72 | openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:76-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060el\u0060 to \u0060Element\u0060 in one and \u0060TypedElement\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":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d1bb20a994b5452aef75c90a0f8f752e4e7298e5ab020a2a6f8063939cb05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:838-846 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:880-887 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:880\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1701113eb45e66178dabe0eb0884e561d9b1d4c6e24c34dfc275f9e9814130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2838-2846 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2848-2857 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2838\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37fa0747f4b3723890ce63d3d2a737c6b71b143f3695192934b71c3d0c53bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:553-561 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:607-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:616\u0060 calls \u0060getAllowReserved\u0060, \u0060setAllowReserved\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:562\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc2a53ddba7f015b07aec6444a134aae3a48e58e435d693651338df674e6ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java:123-131 | openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java:138-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java:123\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/management/SpringActuatorConfigUtils.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a886aaa919adc3c1ca6dfc1dcce8d8edfafdcf09fb821953b37a945ae21c5126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java:52-59 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/CallbackDeserializer.java:52-59 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/PathsDeserializer.java:53-60 \u2014 before extracting anything, compare \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java\u0060 and \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/CallbackDeserializer.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/CallbackDeserializer.java:60\u0060 calls \u0060equals\u0060, \u0060$ref\u0060, \u0060asString\u0060 and \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java:60\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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ApiResponsesDeserializer.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4786eccda5c82db7447d14d89c157e3695be3c50db4d46c8f7631891afbb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2087-2093 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2147-2154 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2157-2164 \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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2087\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a94841c95d52db2c1005009dca143a95ddfecbfa289b7c1fa438c296b67b816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:109-117 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:130-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java:109\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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/ObjectMapperFactory.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01449993798f2abd6c2385aff27349813daeabc13d5408c3c704fe39aef668c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:232-239 | openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:362-369 \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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:232\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java:230\u0060 calls \u0060capitalize\u0060, \u0060replace\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java:361\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"135774fdac12625f88d2297ca77231ddc401a3ef05120bdf8cf3b6de35b23e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:246-253 | openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java:354-361 \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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java:246\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba5ab3ad086811c334e3ded51537277a355347d5bd1d5950c28eb854566c5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:995-1002 | openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java:1104-1111 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"6958c2716d5b74fa0be55fbc3e1ac533e54a230a8444127d0e811e19f8373f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:708-715 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:720-727 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"446e44515c751fc8697e88208fbd2229993949140c31fe9abe0dd2acd8829097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:146-153 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:206-212 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a2d6425a940bcd1edb80b781a92debe2086296724f2a1a915c7dc29cadd646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:175-182 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:261-268 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:183\u0060 calls \u0060normalizeContent\u0060, \u0060getContent\u0060, \u0060normalizeHeaders\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:269\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ee25c019e282a5f5715985aa6c17b4b079afbdf27fc198752a0f038946649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7600-7610 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:8252-8262 \u2014 both copies are in the same file, so extract the block 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7600}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ab2b7cbf55b938a1d79a08d784b6f587c26aaba94d49f36d717f8d5fc4b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:474-480 | openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:522-528 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java:474\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c2097b995c187ae4a46976d93d152aabc14e134e8755b9e7333c03bbf91265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:197-203 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:742-748 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5106dbfd9348df9dcfd29cfbda15030473fa16f8205660ed2e9ff1bc65dda85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:465-472 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:477-484 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:465\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd0d6f0e3a784552e5ae8221823e6a628438b281adde61e3c6f524d68b21e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1773-1779 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2460-2466 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b43b3b597ec816e52a04adfe7319612192170c459c185ff8d3118f9742d5013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2893-2899 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2900-2906 \u2014 both copies are in the same file, so extract the block 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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e750d73ebf48ac6408ca0a6d8bc2a1b357b1116a2a9807035b23813b7d63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:917-922 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:937-942 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:967-972 \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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:917\u0060 it does not close everything it opens, so those exact 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, \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:935\u0060 calls \u0060getProperties\u0060, \u0060size\u0060, \u0060flattenProperties\u0060 and \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:916\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9aba0257f5a8f11816bcd2ef35ff201327f04d30d0cf55939505772852e882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:63-68 | openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:75-80 | openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:87-92 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060el\u0060 to \u0060Element\u0060 in one and \u0060TypedElement\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:93\u0060 calls \u0060containsKey\u0060, \u0060addDeprecatedMessage\u0060, \u0060getOwningType\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java:69\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9730dcb73650cd3b4fa04b0aebc4cff955dbfd77b4c959db8d4eb2999e7315b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:328-334 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1894-1900 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3270-3276 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:335\u0060 calls \u0060setType\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1901\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d607e1ce34f103910b455bcb1fb494312ca4928c34b6d3db74b0581727a575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:840-845 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:882-887 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:901-906 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f079abcdaa9185d47a56191b00d31b397a32bc59fa83e73484f8291fb2d03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:951-956 | openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:981-986 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java:951\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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf39d63d0ddb7366b233108f1071fef20f8d695b3ec6a367963cab165cd4fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1799-1805 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1822-1829 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1799\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, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1821\u0060 calls \u0060removeNonNameElementToCamelCase\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1797\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aa62602abb5ae83940e8d54e42a4afd2d4ba5f7fa724b0c704f0aa23660f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4675-4680 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4703-4709 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:4675\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4675}}}],"partialFingerprints":{"codehealthFindingId/v1":"f195f3a880dadd583ae16408bce34050ab9258c15bf18db6ea7a22a80602f4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:382-388 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:392-398 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:382\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea7de65dc5a65977b396d3a2d4ffe13960855aa3a3a82291c0cd8f0f9a73eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:189-194 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1403-1408 \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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadcfc4f2d9a5ce92f5d3e864edabd7a19ef2eedbdab3eedce1b2367ef612f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:197-208 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1411-1422 \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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:197\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06e3cbaed499ad4bd62b747b2e27d84a07905f176215f7bea94a7d1bed5f408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3003-3008 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3010-3015 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3003\u0060 it does not close everything it opens, so those exact 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, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3000\u0060 calls \u0060addValidationAnnMessage\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:3009\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f57ff6678246f1a6598110e5b6a2a0d85a5f698a689adc9a6dd6cc32cd9479f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:375-380 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:478-483 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:522-527 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:567-572 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:624-629 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:655-660 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:696-701 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:484\u0060 calls \u0060setContent\u0060, \u0060mergeContent\u0060, \u0060getContent\u0060 and \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java:529\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaUtils.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a3c8ed0ced116cc878a4a3e13e6f6831d906810de96f47fecca4309e68212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:121-127 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:138-144 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d6bf349f82ca861b81289ce46519c0d87fb9bea61577581c6e2d18a37f45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:345-350 | openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:352-356 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java:345\u0060 it does not close everything it opens, so those exact 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/Utils.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e5a703e66449a84cb9ab5109488d17ee19e1a69d9eaed4a47bafa3f9115ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1986-1990 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1996-2002 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:2003\u0060 calls \u0060setDisallowAdditionalPropertiesIfNotPresent\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:1993\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"c419b3cd612152e4859e97911f405f1fcee7d83355cfdbcdf06337458eabc8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:171-175 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1381-1385 \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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9b6dec2cbf643762c37df14a5c5e02cd4989774fa6ebf5dc7827ade4c6d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:342-346 | openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:443-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java:342\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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiNormalizeUtils.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9244f35500f35d93a02fe49aca5da9559040190d9f06e09e33604de646566a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:863-867 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:872-876 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1247-1249 \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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:863\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79d42d23007ca9e22774700120fba9e9f54139967d668c3060f47e517588db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1556-1562 | openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:2506-2512 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java:1556\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":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6974cd3512823a575ed7f1f351add6b126acdac0701eac6d14402b6205258a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingPropertyStyleEnumDeserializer.java:37-44 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingStyleEnumDeserializer.java:37-44 | openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/HeaderStyleEnumDeserializer.java:37-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/util/EncodingPropertyStyleEnumDeserializer.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3015a7575650a420eaa7718daf7615605f34ef91af380607ae50899cc890da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7410-7414 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7424-7428 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7410\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7415\u0060 calls \u0060put\u0060, \u0060escapeText\u0060, \u0060getValue\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java:7429\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":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7410}}}],"partialFingerprints":{"codehealthFindingId/v1":"903a82e6fb8cbf6187441cd2350ef5cd5d222eaff5f0f6205cf40a5cd7b8810a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1502-1512 | openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1547-1557 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1502\u0060 it does not close everything it opens, so those exact 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, \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1500\u0060 calls \u0060parseBoolean\u0060, \u0060getProperty\u0060 and \u0060openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java:1546\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1333258179814f1169086127a315cdd7876c0e4de0537bf6434aa442a3070754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:623-627 | openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:689-693 \u2014 both copies are in the same file, so extract the block 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 \u0060openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java:623\u0060 it does not close everything it opens, so those exact 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38dded9f486dd9366a772a902595a94b2b6ae3ab59bfdca0057437a4715370c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): test-suite-generator-util/src/main/java/io/micronaut/openapi/testsuite/GeneratorMain.java:195-212 | test-suite-generator-util/src/main/java/io/micronaut/openapi/testsuite/GeneratorMain.java:233-250 \u2014 both copies are in the same file, so extract the block 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":"test-suite-generator-util/src/main/java/io/micronaut/openapi/testsuite/GeneratorMain.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb33ca2d8be1f57389fe0b61a99e69ee069c7ae4763796b602b349c637410d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): test-suite-spring-kotlin-kapt/src/main/kotlin/io/micronaut/openapi/spring/Application.kt:13-17 | test-suite-spring-kotlin-ksp/src/main/kotlin/io/micronaut/openapi/spring/Application.kt:13-17 \u2014 before extracting anything, compare \u0060test-suite-spring-kotlin-kapt/src/main/kotlin/io/micronaut/openapi/spring/Application.kt\u0060 and \u0060test-suite-spring-kotlin-ksp/src/main/kotlin/io/micronaut/openapi/spring/Application.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-spring-kotlin-kapt/src/main/kotlin/io/micronaut/openapi/spring/Application.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b85c620c82aebfd07d681cb43df367922abb25114b41fedd1a043a7da86b98"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenApiControllerVisitor (LCOM4 5): OpenApiControllerVisitor\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiControllerVisitor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef4b42283e770a41b03c594eb604eb37a07fe883c0b5845967d56285d1bd34b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: openapi/src/main/java/io/micronaut/openapi/visitor/DynamicRefUtils.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0b3f0c627958300ab7e3e070e56440e113be126a43ecf42a14a0058506829c85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: xml structures, styles, link objects, parameterized servers, full schemes for OAS 2.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0506664688a255fac01c314329480b7849a4fbd0ef34b9c2050dd1eb6b3c7cf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Determine what to do if the parent discriminator name == the grandparent discriminator name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57da49529ae5ad73b1d9a92f4df7066bd72e9e8d695e5739f3c0ad6a1c494a4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: a parameter should not be assigned. Also declare the methods parameters as \u0027final\u0027. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52852e9e3c0110d3ae8bb7efab207dcfda420a10c15b55b80e799b99e822424"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: java specific type should be in Java Based Abstract Impl\u0027s \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e0f26215ea94d6b1de24d189aba06f2b40d50abfbf93ed8c64c96be65f5ded"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support for multi, tsv? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"079df0109e369df564e25edc5608889a95e472fce94d806fb361555a31040c85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to revise how to obtain the example value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a055165321876df5cd24ef3a594fa452456e40a5c7f9423a448d2eeb14818186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should return a different value to distinguish between free-form object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"452ee3d96b795bdf5e06082d26124f45902c1e5b8aad499512124e1918d99568"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO revise the logic below to set discriminator, xml attributes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc2f2b3f649443b2729d6f306ce7c24b1c0a99d3caddcafe86caa772da41cd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to work with anyOf, oneOf as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"845448d45e43c00a62406176d8c2fdeeec00e6fbc7f5226b6d4d868e954fac8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove the anyType check here in the future ANyType models can have enums defined \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d9b6264a806bfe7b6d70b663a51b61ad53f0b1d9d24d7a4273ab98434fa90"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack: avoid infinite loop on potential self-references in event our checks fail. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bbb69bae8939ebe7a833a3bbc9c17b64161db738d3055ab536377fbce758c3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: there are other ways to define the type of the discriminator property (inline \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":3821}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f49aae304efe19b36327c915d55b8512902eb1647ca6a4274fd527aa57e8a2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this hack in the future, code should use minProperties and maxProperties for object schemas \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f82ffa8e19326cb4216c2a0fc3f2d4e61434abef4a51c85dc4dda7a4909dba9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix this, map should not be assigning properties to items \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":4623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4936d5225f19d8c2997072064e30f405b003d015f6ead95a81266abf2ffebbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to review replacing empty map with schemaMapping instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5598}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbec2a008c2a121e54e23007f53a3a1bafa57957dbfe5e679146ed5c87d9c83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO revise collectionFormat, default collection format in OAS 3 appears to multi at least for query parameters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"041da1621c4a38f318ef2f5fda14b1434b72516dad36a788c87920f9fe0f04b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO revise below as it should be replaced by ModelUtils.isByteArraySchema(parameterSchema) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5824}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93d84f47feb9e9bba1c8ef33a67d40c11313e66a174b3c9bb2a9b9eed75383b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO revise below as it should be replaced by ModelUtils.isFileSchema(parameterSchema) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":5833}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a53696493a4396bd8369e780cd27ca2fb1e6839cbbe8944d6d6853bb72f03"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: if supporting inheritance, when called a second time for allProperties it is possible for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":6362}}}],"partialFingerprints":{"codehealthFindingId/v1":"012232ab6ce7d9281bf500ab4fd95d73a806711d02311865cff2b66e3df24acb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add isNumeric \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7129}}}],"partialFingerprints":{"codehealthFindingId/v1":"508cd1d85d42bc14b29e085293ef48c4a0bfbaab81f9c2aa19b6bd4fb1fa6bf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add isNumeric \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7154}}}],"partialFingerprints":{"codehealthFindingId/v1":"937fad1e2aa443c9c1333dfebf3cc26f3bb083f4f36519f61ffdd160e56b31e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO in the future have this return one codegenParameter of type object or composed which includes all definition \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7622}}}],"partialFingerprints":{"codehealthFindingId/v1":"856e1dda665f0663fd38b87d823ef46e0d14a7a188a1250a3d837f7698386161"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this hoisting code is generator specific and should be isolated into updateFormPropertyForArray \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0acb95c7c936008483f2fdb1a0845bfa83dd985bf671d944bb6cbc62f5f997"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we need to fix array of item (with default value) generator by generator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7772}}}],"partialFingerprints":{"codehealthFindingId/v1":"468782c7bfd7027b10188d63f7a51285228bb8521fefabc67b9a2264844904a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move this splitting logic to the generator that needs it only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7873}}}],"partialFingerprints":{"codehealthFindingId/v1":"451daf59de0d7d24fb3e33cbdcb0a9d55930d2a3996741a98ba7edda08dd41a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO in the future switch al the below schema usages to unaliasedSchema \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8275}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f0800557db1a3c54d5255322168d6465cc4eb4056e2901159eef792298645"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add processing for requiredPropertyName \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3346d5b0e4e25fb7cdba19e0174221df6c059a4b29730587c73027bddede6665"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow user to define _which_ servers object in the array to target. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e75e14689e4d720d112e390c005451d167dd80b6db256618ed1328b08e8e4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Process these anyway and add to dryRun info \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7212eb717dcc8f754549316ed7a5a9cd6ade826ee903911e6952861d153bef5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this be added to dryRun? If not, this seems like a weird place to return early from processing. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bac1972900b01426fd2fb56f4c6f8e11fa19e3ebece483d1b1c453cb9a76ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:  handle interfaces \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52e8122e694938ff8c2b5945df9afaacad9aac7f7fcef83da097ffc872dbe6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO revise below as we\u0027ve already performed unaliasing so that the isAlias check may be removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af8fdb99516d8094abe051e0e4655386812dead8f6b6fa0210b96c020b9a3c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Process these anyway and present info via dryRun? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1b71813abdbf80a61c8fe356b1b7dc9f9f82663784f0f8f2c61a59441b55ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Process these anyway and present info via dryRun? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"280f95bf22017f8e8651dfda204dfca99c42dd845c0ca7e32be76372fa78785f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: process these anyway and report via dryRun? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2739af94baf19c38fddc992a422093fafb6489d345b84a56b0ad10df32b29a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo verify support and operation bundles have access to the common variables \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"44297fab11abb849d9dbd402286ba1bd5f928d78f05ebe88eab687aa9c3754ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: initial behavior is \u0022merge\u0022 user defined with built-in templates. consider offering user a \u0022replace\u0022 option. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcbd89b924b38f0f746bb5837a7522392f90c918e34c31b504c6ff8fca5fea1"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack: destination filename in this scenario might be a suffix like Impl.java \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e66a137ba00ad9c647284ce7ffc12561d1ab89ccdffd0e02b9fd9c0ed08d9f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"245f9b54192616b58c92db3a1bc79901de8df6338e72eb92205871ddd5d27524"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060test-suite-spring-kotlin-ksp/build.gradle.kts\u0060 makes this repository a deployable product (line 17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-spring-kotlin-ksp/build.gradle.kts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2e18984397f9910e5f41271324a757281ca4a51d836ea19f24cbdaabdb5f10"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060openapi\u0060 (23849 LoC, 144 module-visible types across 15 directories) overshoots its size bounds. 1 of 6 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5622702a90a5820c02e6123b135cb01a66a798297b6fb7009f2b5a59571373"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8882a2ed948615acad68ecf78c3be97260487af37b139eb09df67cbba907dbca"},"properties":{"commitSha":"272aee0bd42ca1dc58b5c9e8d7bd9605375ce516"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a38ef7cbc3d91666d5f9cce4fb77b41d065d16c17f765b140a07691e71982cf4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"760e165bf9813a3a355e50ec52de3c2fd4a173bb665104120bb8047f7f740e1c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f298bc5d4e7307b6aabbf6b6c2c00d23955a4f75af3f4338239bc354cda145d4"},"taxa":[{"id":"CWE-269","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"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e49456c9133add2be4b2e12b0d86bed43a0b582b74d0924f8ea9b54a0f0f215"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a1021e10dd59f9fe7cb55f310f362f9aea2309a1962b3fab5f56814f173c54f"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3930b5e2fc00b99b170df3f408562bd29cedb8441bd9d21e3f924cfa0cd01a0e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fcc0d5f7de58c32f486d563b5ef72bbbdb8182daeb0fac2093c589494526e1b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb8314ae45cfdfc2cbeef37f08b0e23e2f7b0853f60c446b1706ff0a86b7386a"},"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":"7fe2e19b71c498519968d862310b456c7dd82fc0bb140361564ead0dc9c876a9"},"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":"d3280e262306330d897f849e2808b4280104b91840a867b4347220b94b659388"},"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":"538e9233f0717839365dd0776acee63ba6031e46920627cec177c737b9c490ab"},"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":"642c827971bc42d20ac9b1e602e078578877a75bbc4a076f8a54bc20c3db94ac"},"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":"bf771b21e3b58bc52e0b53c1fd3ef001293d7fda2b1cc74ec7d8edb8611899ef"},"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":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"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":"6c1e52189f6d6201dbdd1a89c10409962d6e3253ca6edffdb033db8fc4089a61"},"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":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"taxa":[{"id":"CICD-SEC-4","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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/resources/templates/openapi-explorer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83d0875c2f1878d15b85aacb4fafc1ff098ec323e84c568ad8ab56c51eccfec"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Crapi-doc id=\u0022rapidoc\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/resources/templates/rapidoc/index.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f9b65838ec917517c9374b52e523153652fafbb41a0ef12099c61c70acb0f1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/resources/templates/scalar/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bd82347dd1402b43754388d8352f72d6f880d6c62df2fe4057e0e97b3583e6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: JavaMicronautClientOptionsBuilder (30 abstract methods): \u0060JavaMicronautClientOptionsBuilder\u0060 declares 30 abstract methods: \u0060withAdditionalClientTypeAnnotations\u0060, \u0060withAuthConfigName\u0060, \u0060withAuthFilter\u0060, \u0060withAuthFilterClientIds\u0060, \u0060withAuthFilterExcludedClientIds\u0060, \u0060withAuthorization\u0060, \u0060withAuthorizationFilterPattern\u0060, \u0060withAuthorizationFilterPatternStyle\u0060, \u0060withBasePathSeparator\u0060, \u0060withClientId\u0060, \u0060withClientPath\u0060, \u0060withFluxForArrays\u0060, \u0060withGenerateAuthClasses\u0060, \u0060withGeneratedAnnotation\u0060, \u0060withLombok\u0060, \u0060withNoArgsConstructor\u0060, \u0060withPlural\u0060, \u0060withRetryable\u0060, \u0060withRetryableAttempts\u0060, \u0060withRetryableCapturedException\u0060, \u0060withRetryableDelay\u0060, \u0060withRetryableExcludes\u0060, \u0060withRetryableIncludes\u0060, \u0060withRetryableJitter\u0060, \u0060withRetryableMaxDelay\u0060, \u0060withRetryableMultiplier\u0060, \u0060withRetryablePredicate\u0060, \u0060withUseApiKeyAuth\u0060, \u0060withUseBasicAuth\u0060, \u0060withUseOauth\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientOptionsBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1251df76063e39e171780a0505873864650299971a76661a2c0f77d3e6160018"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: KotlinMicronautClientOptionsBuilder (36 abstract methods): \u0060KotlinMicronautClientOptionsBuilder\u0060 declares 36 abstract methods: \u0060withAdditionalClientTypeAnnotations\u0060, \u0060withAuthConfigName\u0060, \u0060withAuthFilter\u0060, \u0060withAuthFilterClientIds\u0060, \u0060withAuthFilterExcludedClientIds\u0060, \u0060withAuthorization\u0060, \u0060withAuthorizationFilterPattern\u0060, \u0060withAuthorizationFilterPatternStyle\u0060, \u0060withBasePathSeparator\u0060, \u0060withClientId\u0060, \u0060withClientPath\u0060, \u0060withCoroutines\u0060, \u0060withExplicitApi\u0060, \u0060withFluxForArrays\u0060, \u0060withGenerateAuthClasses\u0060, \u0060withGeneratedAnnotation\u0060, \u0060withJavaCompatibility\u0060, \u0060withJvmOverloads\u0060, \u0060withJvmRecord\u0060, \u0060withKsp\u0060, \u0060withModelMutable\u0060, \u0060withNonPublicApi\u0060, \u0060withPlural\u0060, \u0060withRetryable\u0060, \u0060withRetryableAttempts\u0060, \u0060withRetryableCapturedException\u0060, \u0060withRetryableDelay\u0060, \u0060withRetryableExcludes\u0060, \u0060withRetryableIncludes\u0060, \u0060withRetryableJitter\u0060, \u0060withRetryableMaxDelay\u0060, \u0060withRetryableMultiplier\u0060, \u0060withRetryablePredicate\u0060, \u0060withUseApiKeyAuth\u0060, \u0060withUseBasicAuth\u0060, \u0060withUseOauth\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientOptionsBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c26081674634195073547f272b3bd8f8b859fe4e0cf67e414a87fa57301b1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: KotlinMicronautServerOptionsBuilder (19 abstract methods): \u0060KotlinMicronautServerOptionsBuilder\u0060 declares 19 abstract methods: \u0060withAot\u0060, \u0060withAuthentication\u0060, \u0060withControllerPackage\u0060, \u0060withCoroutines\u0060, \u0060withFluxForArrays\u0060, \u0060withGenerateControllerFromExamples\u0060, \u0060withGenerateImplementationFiles\u0060, \u0060withGenerateOperationsToReturnNotImplemented\u0060, \u0060withGenerateStreamingFileUpload\u0060, \u0060withGeneratedAnnotation\u0060, \u0060withJavaCompatibility\u0060, \u0060withJvmOverloads\u0060, \u0060withJvmRecord\u0060, \u0060withKsp\u0060, \u0060withModelMutable\u0060, \u0060withNonPublicApi\u0060, \u0060withPlural\u0060, \u0060withUserParameterClass\u0060, \u0060withUserParameterMode\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerOptionsBuilder.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05a0e660f3de90b280b88c943ad937311d0bfb4ddea8524f679ab98c7935621"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MicronautCodeGeneratorOptionsBuilder (58 abstract methods): \u0060MicronautCodeGeneratorOptionsBuilder\u0060 declares 58 abstract methods: \u0060withAdditionalEnumTypeAnnotations\u0060, \u0060withAdditionalModelTypeAnnotations\u0060, \u0060withAdditionalOneOfTypeAnnotations\u0060, \u0060withAdditionalProperties\u0060, \u0060withAllowUnicodeIdentifiers\u0060, \u0060withApiNamePrefix\u0060, \u0060withApiNameSuffix\u0060, \u0060withApiPackage\u0060, \u0060withArtifactId\u0060, \u0060withBeanValidation\u0060, \u0060withDateTimeFormat\u0060, \u0060withEnsureUniqueParams\u0060, \u0060withEnumNameMapping\u0060, \u0060withEnumUnknownDefaultCase\u0060, \u0060withEnumUnknownDefaultCaseName\u0060, \u0060withGenerateControllerAsAbstract\u0060, \u0060withGenerateEnumConverters\u0060, \u0060withGenerateHttpResponseAlways\u0060, \u0060withGenerateHttpResponseOnlyForMultipleStatuses\u0060, \u0060withGenerateHttpResponseWhereRequired\u0060, \u0060withGenerateOperationOnlyForFirstTag\u0060, \u0060withGenerateSwaggerAnnotations\u0060, \u0060withImplicitHeaders\u0060, \u0060withImplicitHeadersRegex\u0060, \u0060withImportMapping\u0060, \u0060withInlineSchemaNameMapping\u0060, \u0060withInlineSchemaOption\u0060, \u0060withInvokerPackage\u0060, \u0060withJsonIncludeAlwaysForRequiredFields\u0060, \u0060withLang\u0060, \u0060withModelNameMapping\u0060, \u0060withModelNamePrefix\u0060, \u0060withModelNameSuffix\u0060, \u0060withModelPackage\u0060, \u0060withNameMapping\u0060, \u0060withOpenapiNormalizer\u0060, \u0060withOptional\u0060, \u0060withParameterMappings\u0060, \u0060withPrependFormOrBodyParameters\u0060, \u0060withReactive\u0060, and 18 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautCodeGeneratorOptionsBuilder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d475af3a90bf8e068e55795bc33436d263a7f706bb12c1d9942b5ddad7a27a2c"}},{"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":"openapi-generator/src/test/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegenTest.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75fa65f57f3021ea0339418bdae43c205d32df8d4a9b3d93696354e2ba819b0"}},{"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":"test-suite-spring-java/src/test/java/io/micronaut/openapi/spring/OpenApiExposedTest.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eb564f03d8bb1af4b095b3156101d1b785a0e2431d23304dc32f17b15338bd"}},{"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":"test-suite-spring-java/src/test/java/io/micronaut/openapi/spring/TestControllerTest.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07fb9f1c59c1eb18ca1d5be8346f5980a4bd45f1831a5ac7410a27bc7d0923a"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/11 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060docs-examples/example-config-java\u0060, \u0060docs-examples/example-config-kotlin\u0060, \u0060docs-examples/example-groups-java\u0060, \u0060docs-examples/example-groups-kotlin\u0060 and 4 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (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 9 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/gradle.yml"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isOpenApiEnabled(context) || !isSpecGenerationEnabled(context)\u0060 appears character-identically in 7 files \u2014 openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java, openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java, openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiEndpointVisitor.java, openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiExcludeVisitor.java. 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":"openapi/src/main/java/io/micronaut/openapi/visitor/AbstractOpenApiEndpointVisitor.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6204b57e0e4726868e29bcca48b2c6ae95c0d14c338ad64a9811b60c6128b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!model.vendorExtensions.containsKey(\u0022x-is-one-of-interface\u0022) || !Boolean.parseBoolean(model.vendorExtensions.get(\u0022x-is-one-of-interface\u0022).to\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ea93efe87196c811171adb46f78ac6d532467b88aa68bbfb780f6ef190857"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mods.contains(ElementModifier.STATIC) \u0026\u0026 !mods.contains(ElementModifier.PRIVATE)\u0060 appears character-identically in 2 files \u2014 openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java, openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiIncludeVisitor.java. 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa7bd9324ca828e55f69a57faec011b0e16c3e119d7497aade666f3fe771e28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!param.isHeaderParam || (!implicitHeaders \u0026\u0026 !shouldBeImplicitHeader(param))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc978025385f708be732517b1c9e82e40c5146920a87c87685e905a6d25498c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!removedParams.isEmpty() \u0026\u0026 !alreadyAddedMultipartBodyImport\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3051c601f775d0a65426d33de827b614cd30b2e5423c43d1c8984b6171865fe6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022Int\u0022.equalsIgnoreCase(datatype) || \u0022Byte\u0022.equalsIgnoreCase(datatype) || \u0022Short\u0022.equalsIgnoreCase(datatype) || \u0022Integer\u0022.equalsIgnoreCase(da\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"921eb4711e1bf2fbce0f857d5af83fc1dda5b957d96ace58f200904da2688989"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022bigdecimal\u0022.equalsIgnoreCase(enumSchemaType) || \u0022number\u0022.equalsIgnoreCase(enumSchemaType)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57f50f35ede21e944c90d976581062c249d388aa8b8d3f69526010421725fb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022byte\u0022.equalsIgnoreCase(enumSchemaType) || (\u0022integer\u0022.equalsIgnoreCase(enumSchemaType) \u0026\u0026 BYTE_FORMAT.equalsIgnoreCase(enumSchemaFormat)) ||\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa43f9fa755c23a7b99c69b7d3bd74f2d4e1e810b5c99f490b7e0070982b5d16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022double\u0022.equalsIgnoreCase(enumSchemaType) || (\u0022number\u0022.equalsIgnoreCase(enumSchemaType) \u0026\u0026 DOUBLE_FORMAT.equalsIgnoreCase(enumSchemaFormat))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5ca2c669d19c0caa9cb2f634a8d25308f9e6c92c476ddced160547dd041e1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022float\u0022.equalsIgnoreCase(enumSchemaType) || (\u0022number\u0022.equalsIgnoreCase(enumSchemaType) \u0026\u0026 FLOAT_FORMAT.equalsIgnoreCase(enumSchemaFormat))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14764c481428c25e5545bafb85a1a43ad173dc8d3242f698579616ced6baa82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022int\u0022.equalsIgnoreCase(enumSchemaType) || \u0022integer\u0022.equalsIgnoreCase(enumSchemaType)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d07e3806a9ae0c1d81e8e35683069e4eaf2ee0cff2457b2c555e9c2f3af7a39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022long\u0022.equalsIgnoreCase(enumSchemaType) || (\u0022integer\u0022.equalsIgnoreCase(enumSchemaType) \u0026\u0026 FORMAT_LONG.equalsIgnoreCase(enumSchemaFormat)) ||\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb23c3239f910882dd36b5ad239a4f899c09b6fedc7c93aaece973c63d00730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022short\u0022.equalsIgnoreCase(enumSchemaType) || (\u0022integer\u0022.equalsIgnoreCase(enumSchemaType) \u0026\u0026 FORMAT_SHORT.equalsIgnoreCase(enumSchemaFormat)) \u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"695fc236f6e9bd211d61143e34a7f0b91776ef21b4bc06ded6a01839d3658d03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isListWrapper || fluxForArrays) \u0026\u0026 op.isArray \u0026\u0026 op.returnProperty.items != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8288f8d61b5746737e1ea767e58b2b96e86be18f20e3a30bbdd4abfca49e54d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isModel != null \u0026\u0026 isModel) || (isModel == null \u0026\u0026 !languageSpecificPrimitives.contains(dataType))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded23321f0c9178e21bb206d340ded4dc52480564bd4e54193a748c7d33e8b4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(notDefaultRsCode \u0026\u0026 (!generateHttpResponseOnlyForMultipleStatuses || successResponsesCount \u003E 1)) || hasNonMappedHeaders\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b401abed30bfd041cf57e4553b37f95d37f989c5dcb02991d26da9dc2cc0de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(property.defaultValue != null \u0026\u0026 !property.defaultValue.equals(NULL_STRING)) || (defaultValueInit != null \u0026\u0026 !defaultValueInit.equals(NULL_\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f16030f01f77f9f07a4713fb32f536ae2fcd3960eef97a65b60d6b0c19624a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(t.getExtensions() == null || !t.getExtensions().containsKey(\u0022x-autogenerated\u0022)) \u0026\u0026 t.getName().equals(tag)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c1a14bf3a590afa257ef6d9741d69f6f3f335cd91dfe0bb1b3df3ba9f14c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(withHttpResponseWrapper == null \u0026\u0026 (generateHttpResponseAlways || generateHttpResponseWhereRequired \u0026\u0026 requiresHttpResponse)) || (withHttpR\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"13edde98601c495dc4c64acb75d499b2dc19456337c8739c4b38df6f329074cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CollectionUtils.isEmpty(urls) || (withUrls != null \u0026\u0026 !withUrls)\u0060 appears character-identically in 2 files \u2014 openapi/src/main/java/io/micronaut/openapi/view/ScalarConfig.java, openapi/src/main/java/io/micronaut/openapi/view/SwaggerUIConfig.java. 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":"openapi/src/main/java/io/micronaut/openapi/view/ScalarConfig.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c0299577a763919aef14c08335445b9908c9d1fb84e6e20d7194911b64b44b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060INTEGER_TYPE.equals(schemaType) \u0026\u0026 (FORMAT_INT16.equals(format) || FORMAT_SHORT.equals(format))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95e3df75abee9348f245283d146a851853dc7b3b3d6309b2cd1bf7ef915e726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060INTEGER_TYPE.equals(schemaType) \u0026\u0026 (FORMAT_INT8.equals(format) || BYTE_FORMAT.equals(format))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e00df9e24cca7a2e44f102409fc801f50fdc91e134c6ccee27cbcb5a3fcb78a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ModelUtils.isMapSchema(schema) \u0026\u0026 !ModelUtils.isComposedSchema(schema)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"43484e0b93f54639c127a01210793e8a202c9cf8097da67857fbbd6eca159c1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(opParam.getName(), param.getName()) \u0026\u0026 Objects.equals(opParam.get$ref(), param.get$ref())\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"97992fd6550f9b6700441baf3920a5b6407373d85ab66b9a3c183e381a0a2c12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isNotBlank(implicitHeadersRegex) \u0026\u0026 parameter.baseName.matches(implicitHeadersRegex)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b93eeefd10a150f31f174ca7249a7637906c4e7114522233835344d07b84dee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TYPE_CHAR.equals(schemaType) || TYPE_CHARACTER.equals(schemaType)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99a0b72038a96fd1eb503d89927743b5fad817849b1929c9c88cac9a6ab793"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060additionalProperties.containsKey(OPT_USER_PARAMETER_CLASS) \u0026\u0026 additionalProperties.get(OPT_USER_PARAMETER_CLASS) != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f065c23c6274252d965e11453a8a5a2c252bc55354eff59136d4fcfea4583432"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allowableValues != null \u0026\u0026 !allowableValues.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c73c217463256cec2586e59343ae8fb030ac286b9bcb23eed6b26ce71bf16c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authMethods != null \u0026\u0026 !authMethods.isEmpty()\u0060 appears character-identically in 3 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"098aeaf5a34317f5dccbdf16095a8559b4f03e12269bbab4fbcd5b5d26edecd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.getContent() != null \u0026\u0026 !body.getContent().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42cd13a2709546be21942d8694b6cfdf294bbc23110e08ab9449a817ca9e72e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.getRequired() != null \u0026\u0026 body.getRequired()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c3dae2e5dcb3e1da04c4921b1d478f3d87e4050e7d89e541bda10a77f6ac7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060codegenProperty.isEnum || codegenProperty.isEnumRef\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cca92530d486666e3d804ed1be45765a5fe4cc193448b9bfb43c2f11bbfcd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enumSchema.getNullable() != null \u0026\u0026 enumSchema.getNullable()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"67741e20d19cb07562c210f8f162819bbc5bc6ccbeb774df3804ef8724f7e932"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enumUnknownDefaultCase \u0026\u0026 (Boolean) enumVar.getOrDefault(\u0022isUnknownDefaultCase\u0022, false)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e524b2c5eaf6ab9b0593a7a2eadf0375e15fb529a33fb808ff56cc65df8293"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enumUnknownDefaultCase \u0026\u0026 value.equals(enumUnknownDefaultCaseName)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"438877d571be11082bd28def6ec40d7bf3030abefd7268152e7000e8245690cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fluxForArrays \u0026\u0026 wrapperType.equals(MONO_CLASS_NAME)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5601149eb09bdacc1f00839e5ebd238199de8c12e3441de99cc98adce2e0b720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generateEnumConverters \u0026\u0026 !enumParams.isEmpty()\u0060 appears character-identically in 4 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ad540ed2912b138f62d6945e005bcb82e7bf2ba6643238caba9253ab8863e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generateHttpResponseOnlyForMultipleStatuses \u0026\u0026 successResponsesCount == 1 \u0026\u0026 notDefaultRsCode \u0026\u0026 !hasNonMappedHeaders\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d461940720f855426a1cb7d67aceb12e729cd4d72428f35d1416958a86631dad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generateImplementationFiles \u0026\u0026 templateName.contains(\u0022controller-implementation\u0022)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c862c9d4de8996c8350058685c64324f94733bb4c5b73cf34fd9961c7dbbde8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generateOperationOnlyForFirstTag \u0026\u0026 !co.tags.get(0).getName().equals(tag)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c86d8bf7fd58bf4838ae7e5beb5a7cec3d166bed6b241a8fd5f9e5a89223c7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasParent \u0026\u0026 Boolean.TRUE.equals(parent.getVendorExtensions().get(\u0022x-is-one-of-interface\u0022))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2011327910baa7c6c60b9c9b974fbfb7b4565717c82a2090b70ca0266f579c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060importClassFullName != null \u0026\u0026 !alreadyAddedPrincipalImport\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautServerCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautServerCodegen.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963809b7b835781680cfa3c46e65c20e5efd65d9fcc57123efb3c421756015c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.allowableValues != null \u0026\u0026 m.allowableValues.containsKey(\u0022values\u0022)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e1513a22c23f5f82e90f03f920af046025c0e0318b831813b6b9eec84e73a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op.consumes == null || op.consumes.isEmpty() || op.consumes.size() == 1 \u0026\u0026 CONTENT_TYPE_APPLICATION_JSON.equals(op.consumes.get(0).get(\u0022medi\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92be9370fb80f636071426d8a8611c0ae11339d5fb79ba791541d2f3fa06829"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op.httpMethod.equals(\u0022PUT\u0022) || op.httpMethod.equals(\u0022POST\u0022) || op.httpMethod.equals(\u0022PATCH\u0022) || op.httpMethod.equals(\u0022OPTIONS\u0022) || op.httpMe\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a963c3a77c9714195ff477af8f46886eeeccd30f0f4e8d37469b17019ffe478"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op.produces == null || op.produces.isEmpty() || op.produces.size() == 1 \u0026\u0026 CONTENT_TYPE_APPLICATION_JSON.equals(op.produces.get(0).get(\u0022medi\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aec79249e50c87690633d53ea721c8b4d5db3074b87d6e6a6ab880f6ab8f2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060op.responses != null \u0026\u0026 !op.responses.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf66e0236f9aa61da23e7fca7a3bccc479786c22a287927f1a1d4c3064146899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operationAnn != null \u0026\u0026 operationAnn.booleanValue(PROP_HIDDEN).orElse(false)\u0060 appears character-identically in 2 files \u2014 openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiControllerVisitor.java, openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiEndpointVisitor.java. 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":"openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiControllerVisitor.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab323658eb19028607f06a108d4fac3a58daacab1126c467bbc0a9022cb4e21a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameter.getExamples() != null \u0026\u0026 !parameter.getExamples().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java"},"region":{"startLine":3137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce16c5323b0e422e80c5171303ef424984be993532dd6bc7ff0f128b570cc06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameter.isPathParam \u0026\u0026 !parameter.required\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdd0b6fd069e5da03350465f8643fec4f5c18c6e065593c58465c78a36ee77b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameterSchema != null \u0026\u0026 ModelUtils.isEnumSchema(parameterSchema)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af854f9691ebd1f045ac784a60e746fb5f96a9f5d2b4fdc196199129d090414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameterSchema != null \u0026\u0026 parameterSchema.get$ref() != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bdf72f6263f226000cf1d3da94ed6bd792ac70d6c81f6ce8fe6ac4b412ed02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent.discriminator != null \u0026\u0026 parent.discriminator.getPropertyName().equals(variable.name)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"618011b08707c99726864a8bacc8d99e408c96dfa0605f118ad5723a5260ab7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentModel != null \u0026\u0026 parentModel.isAlias \u0026\u0026 parentModel.getRef() != null \u0026\u0026 model.interfaces != null \u0026\u0026 model.interfaceModels != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4b14f6fdcd6b4edb0a35ed21ccbb706f600e6577f8cd7f678e7a09c8f06a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentProp != null \u0026\u0026 isDiscriminator(parentProp, model.parentModel)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47c8120249b5b94206ce4b4427966cb6cc0385c3c196e49ecfb8668fcfcace1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsedAuthFilterClientIds.isEmpty() \u0026\u0026 clientId != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"700c33059f46f7463552c4311a080de09d7e861518516f9ae94625089f408d2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.getParameters() == null || path.getParameters().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"274f681823c09040bd7a1cb6785e46fe14a85fbfdbbfd24c340c7477f2f4af00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plural \u0026\u0026 param.isArray \u0026\u0026 param.isBodyParam \u0026\u0026 StringUtils.isEmpty(param.getRef()) \u0026\u0026 !DEFAULT_BODY_PARAM_NAME.equals(param.paramName)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d15d725fb5766b24dfac22fa9e7a17ad76bc6dfa087d2e3874cfb03565bad18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060properties != null \u0026\u0026 !properties.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java"},"region":{"startLine":2817}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9f33c73df7da47e8026453cb190a5011eb511a327276ca90471bb72753df29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pv.required \u0026\u0026 pv.name.equals(prop.name)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d364a41b4a0dde84a1ef326d57fa5d6edae306ebea556e8c4a329c181fa3ea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060referencedSchema.getEnum() != null \u0026\u0026 !referencedSchema.getEnum().isEmpty()\u0060 appears character-identically in 3 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"8497db6655b037906439646e12f6bc2b6b9c0b0a06077f8f8a106cc7b3566073"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060referencedSchema.getProperties() == null || referencedSchema.getProperties().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b5060f7f223273b2dd3e673a87f578b515a85d77c8bca364ca9025b0b18fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.getExtensions() == null || response.getExtensions().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c86fd6afc8cf4f42bde55bd4aa535d19352b5aea6e07813504d7c1abd45cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.getHeaders() == null || response.getHeaders().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"325bfab66516caddc24de1817b89608cae7bbd1a198450b58fca5061de84b62f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.getLinks() == null || response.getLinks().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b0a1efe0ce0bf4b603f795c9c2f6c7fedc3cab74ddf4a1265219c178509481"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableCapturedException != null \u0026\u0026 !retryableCapturedException.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a4b0fb142786bf8ebcb2391ed8ef4014cccb4b0a586af4ce03cc76e935dfda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableDelay != null \u0026\u0026 !retryableDelay.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10b2af8e5566c060b058f3ce05cd092215441653f6a18594a2e374d20cbbef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableExcludes != null \u0026\u0026 !retryableExcludes.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d505c520eb2b1fd38e63ef1faa3b1dc27d7583d3495b3e556339ca789d1a5a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableIncludes != null \u0026\u0026 !retryableIncludes.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9b0d07de03b323d0edd07c40d89ac827db4c330332d3853ddae16ef89b2e28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableJitter != null \u0026\u0026 !retryableJitter.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7118a7caa0a7b31fc3270d1d9c1281bb8afbf4e50682d114302b29af186d10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableMaxDelay != null \u0026\u0026 !retryableMaxDelay.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e21d44382d970d713f41d69f7f2c3c91aecb2110dc1e53c75bca822b3fd38f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryableMultiplier != null \u0026\u0026 !retryableMultiplier.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f44bfee47ea02fef265a649896f1adb51450570af29de4fc5ec16f8bf02e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryablePredicate != null \u0026\u0026 !retryablePredicate.isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/KotlinMicronautClientCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/JavaMicronautClientCodegen.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"298749ca8ed8029e64e4acd4fe41899751d8b8127239bf2d55a647bb993f1393"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema != null \u0026\u0026 ModelUtils.isEnumSchema(schema)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"4216c6558f9a24612d4c2b77a854e4501444f3c663a3fd584e16415146892d8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema != null \u0026\u0026 schema.get$ref() != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da94dff269ed5dba7847c5e1b4bfddb93f1bf3fd6a65746cfa657ebff083ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema != null \u0026\u0026 schema.getExample() != null\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d106d5235b353decd913c7acccdff878e39b8e70d4f1fae64cc9f7506d624637"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema != null \u0026\u0026 schema.getNullable() != null \u0026\u0026 schema.getNullable()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42db6c20cf6368b5b3d41cf66b389aa043be1556dfac3ac20757e03fa35035b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema.getAllOf() != null \u0026\u0026 schema.getAllOf().size() == 1\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a006c724b93f776d1da196fdaeb2e9e32c984aa0f58ad58d586588c9cc620b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema.getOneOf() != null \u0026\u0026 !schema.getOneOf().isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a0ac2bc5efaae186b6d7780462a3b8f65acede0126376b5341be115487484"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema.getProperties() != null \u0026\u0026 !schema.getProperties().isEmpty()\u0060 appears character-identically in 4 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/MicronautInlineModelResolver.java, openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5b8b28af73846533d1108960952d37b8b0543e1c0d035759e03b2caf0eeeed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schemaAnn != null \u0026\u0026 schemaAnn.booleanValue(PROP_HIDDEN).orElse(false)\u0060 appears character-identically in 3 files \u2014 openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java, openapi/src/main/java/io/micronaut/openapi/visitor/GeneratorUtils.java, openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java. 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":"openapi/src/main/java/io/micronaut/openapi/visitor/ElementUtils.java"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0971067ee8a9ba265a6487202906e4f661ddad845b91ff0176a085efd33fc030"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useBeanValidation \u0026\u0026 ( (!property.isContainer \u0026\u0026 property.isModel) || (property.getIsArray() \u0026\u0026 property.getComplexType() != null \u0026\u0026 models.\u2026\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237890d5cdf7b800af630efba94564ac79fd40cfacef3d152c7da08c4b3d43f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 value.getExtensions() != null \u0026\u0026 !value.getExtensions().isEmpty()\u0060 appears character-identically in 3 files \u2014 openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java, openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/CallbackSerializer.java, openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/PathsSerializer.java. 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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/ApiResponsesSerializer.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a575cd5384a4920075ea4ab05d332e12ea7c8536d96f7e3dbcfe172adac9c122"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || !allowableValues.contains(value)\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5596706b7ec724bf84972832e05d93473050c6a3acf5d3b061353cc245fb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.get$ref() == null || value.get$ref().isBlank()\u0060 appears character-identically in 2 files \u2014 openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/CallbackSerializer.java, openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/SchemaSerializer.java. 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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/CallbackSerializer.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50a7b2518027374a7605c7d7bca60a9d6af01dc2791c509008e7f46dec59672"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.getExampleSetFlag() \u0026\u0026 value.getExample() == null\u0060 appears character-identically in 3 files \u2014 openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java, openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/Schema31Serializer.java, openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/SchemaSerializer.java. 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":"openapi-common/src/main/java/io/micronaut/openapi/swagger/core/jackson/MediaTypeSerializer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda5220ab5f6f769cea57328686f668b271b68589af8db85b849801a3036d560"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060varName.length() \u003E= 2 \u0026\u0026 Character.isLowerCase(varName.charAt(0)) \u0026\u0026 Character.isUpperCase(varName.charAt(1))\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f2e1e8ca2b45d9938ff1ba8464af0ffae72856cfdd3c22ce89503fe7013f18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xDeprecated != null \u0026\u0026 !xDeprecated.isEmpty()\u0060 appears character-identically in 2 files \u2014 openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java, openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautKotlinCodegen.java. 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":"openapi-generator/src/main/java/io/micronaut/openapi/generator/AbstractMicronautJavaCodegen.java"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4a0fbb9ad3faa680342c95b01d31db2256e74151204f51e01eb22e3e33b52f"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of this child \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and \u0060p.waitFor()\u0060 is written before stdout and stderr is read, so nothing drains it while the parent waits. The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the wait never returns. Nothing fails loudly. Read every piped stream before (or while) waiting \u2014 a thread or \u0060CompletableFuture\u0060 per stream \u2014 merge them with \u0060redirectErrorStream(true)\u0060 and read the one stream before \u0060waitFor\u0060, or discard what you do not want with \u0060redirectOutput\u0060/\u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or a file)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":8642}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a8c95456ccfd330de98cd199cfdb9f9267b33f44dc743c43d762fe82b8463b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c70bb043d536e9c6b3561cbab3ada2b55eba6e4a0ed9ece1857963288a043"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a45013b6ecb372ad7462779e0fb7ee52c9dc7bd425507673525c1e6f894fa33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2aa2734ea4bb907f39a04c6e0026aad0c342d7fef0969b638e347c30392c08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ContextUtils.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19dc730053c2ddd3d0689262b6c161394bc6d04f584cf539b04959742bf1e60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConvertUtils.java"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a2e22f16d9af6dd1de7908bad1ecc889709c258b90720bc50eeda279ff5239"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"515e174e7239502bec6f4973e0a4c81333515bef78449e4906e76fed4095bff5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b5730f17603acdec22ed74bb5358455ece2092308c3c2438ee8151c31764e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/SchemaDefinitionUtils.java"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5519ecf7be6d1586a699c2df055208a00addc1a9254e8f7b4450581af68f8bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/Utils.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e6e69437990678c446466a2ea258b52b56a56824fc098c8ed2bc9d1774af5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 7169 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java"},"region":{"startLine":7169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb12b0d279d8249488c40b5cc199e7cce91b7fa5e02a3ca5deddb7ae441cb262"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/20 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getTagGenerationDescriptionMaxLength\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi/src/main/java/io/micronaut/openapi/visitor/ConfigUtils.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2549f1f254398bf932f0f508df21f430785213724be580a8d14141b0d43824ef"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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-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":21,"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."]}]}