{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"WireCompiler.forArgs (cyclomatic 49): WireCompiler.forArgs has cyclomatic complexity 49 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8265c0935f48486583ea00d9b25a20f30dcc2a23c584c3fc0dd58dc37373ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoAdapterKt.commonStructValue (cyclomatic 46): ProtoAdapterKt.commonStructValue has cyclomatic complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a96de10570698f25465a537254b79637aa3e46861dfdca18f49f92602384831"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.decodeFun (cyclomatic 40): KotlinGenerator.decodeFun 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194eac5926a79a75f6bcb03e8e68d011d3d97e084615dfcb15a123c205c9fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"SwiftGenerator.messageProtoCodableExtension (cyclomatic 39): SwiftGenerator.messageProtoCodableExtension has cyclomatic complexity 39 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b43a2535646cb43aabfe8ee31c0536a048b54e53dc24c60a0884d85585f08b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoParser.readDeclaration (cyclomatic 34): ProtoParser.readDeclaration has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ccd7823102f6a99adbcd8fa46b132d2dccd12fdb8ebf9e481cdc9a7680bce9"}},{"ruleId":"D1","level":"warning","message":{"text":"JvmLanguagesKt.builtInAdapterString (cyclomatic 32): JvmLanguagesKt.builtInAdapterString has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"626208358956964b78bf690cf6c074ced507da4dcde9c7271a2e0881d35c1655"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.fieldInitializer (cyclomatic 30): JavaGenerator.fieldInitializer has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d976b17bb55b7b28f75607739e5af6c89796d9234583bdfb65183705219f8df"}},{"ruleId":"D1","level":"warning","message":{"text":"SwiftGenerator.messageCodableExtension (cyclomatic 29): SwiftGenerator.messageCodableExtension has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dbdfd694371be2592a2218eae912dc58e91fb3460be4e4f2351f0adad6bfae"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.decodeAndAssign (cyclomatic 27): JavaGenerator.decodeAndAssign 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"015f2912d6861e70bfef9bdfcdff0ad6286c7a31101377b8d5daceacfc6b1ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxReader.readQuotedString (cyclomatic 25): SyntaxReader.readQuotedString has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/SyntaxReader.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab52e5079d10ffdddb51643acea221e1a8e964e1abdf0b5a66d23ff078774d90"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxReader.tryAppendTrailingDocumentation (cyclomatic 24): SyntaxReader.tryAppendTrailingDocumentation has cyclomatic complexity 24 (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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/SyntaxReader.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7674a1e0cffc73a43a08eb59a6e7b359f06df2f4e62403067a646e539b86770"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.generateMessage (cyclomatic 24): JavaGenerator.generateMessage 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4622890e025dba9b25c3160f686bd9c9133d9b8f582df3f2fbf6073e1a1f082"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.messageConstructor (cyclomatic 24): JavaGenerator.messageConstructor 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1367639dd8071d8e78f99a99a6b5047454f05b191587139642a7e8d1a3f5694"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.constructorParameterAndProperty (cyclomatic 21): KotlinGenerator.constructorParameterAndProperty 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2c3b950f5424f91bd8a869a7679b5f8f0042d29702922c003ecea24346a228"}},{"ruleId":"D1","level":"warning","message":{"text":"Linker.link (cyclomatic 21): Linker.link has cyclomatic complexity 21 (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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adddbf55f4e268a89fab968c955e1e0e5acff17a108852fa652aa0054ea46dc"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.singleAdapterFor (cyclomatic 21): JavaGenerator.singleAdapterFor has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4d87f60bbd5b19a29abcb2c5fda44227d19f40fe87856d0a64576b4d71bffb"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonIntegration.jsonFormatter (cyclomatic 20): JsonIntegration.jsonFormatter has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/JsonIntegration.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19bebf704aced0c1b6d3666956986995263f4412b3237d1880a2b1040f6478"}},{"ruleId":"D1","level":"warning","message":{"text":"Pruner.reachableObjects (cyclomatic 20): Pruner.reachableObjects 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Pruner.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b298c4b113a783d45b59fdaf4a0f77029a18eb73e8f53d0332e02d698a82aea"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.messageAdapterRedact (cyclomatic 20): JavaGenerator.messageAdapterRedact 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"377bb6a8fec520d976af4d8b07997d6feb40fa90e291f157ca3d0313d6cc7f14"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.generateRpcFunction (cyclomatic 19): KotlinGenerator.generateRpcFunction 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. This is NOT this file\u0027s highest cyclomatic complexity: KotlinGenerator.getAdapterName (cyclomatic 21) 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"305915393c78728b9dccca55fbc28d0cc47b68da07990463524ff2fb422f1464"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.redactFunctions (cyclomatic 19): KotlinGenerator.redactFunctions 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. This is NOT this file\u0027s highest cyclomatic complexity: KotlinGenerator.getAdapterName (cyclomatic 21) 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3879cdf1c55a0828ca8ea10f26f16dd11c4c3a56c51b68bda232f3750ffc31f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoAdapterKt.commonDuration (cyclomatic 19): ProtoAdapterKt.commonDuration 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02e03de792c7ceb65533ca2ba3acac54f39b5e1ced719012b4e0caf47561ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.messageAdapterDecode (cyclomatic 19): JavaGenerator.messageAdapterDecode 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae27f62e2bf9ef4f5a2c936699ec593e69f0eb520920311b766f7f17f435286"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.decodeAndAssign (cyclomatic 18): KotlinGenerator.decodeAndAssign has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: KotlinGenerator.getAdapterName (cyclomatic 21) 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8dd6ff2498121cadffd8b3b6e638e201086b282af3a27c9447dc76c9fa002b"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.generateEnum (cyclomatic 17): KotlinGenerator.generateEnum 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. This is NOT this file\u0027s highest cyclomatic complexity: KotlinGenerator.getAdapterName (cyclomatic 21) 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24e4c0a72299a83ed133e7e906317ea93dd79714f78c9ce9cbc8b9f94fbe72d"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageElement.toSchema (cyclomatic 17): MessageElement.toSchema 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/MessageElement.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1ad5e3a7012c91ae7f923fd7203495f3b439a4d5893391dc3d198c8264e3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxReader.readComment (cyclomatic 17): SyntaxReader.readComment has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/SyntaxReader.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60c076a971eeb131647c37e86a31e6966e220dc9402018f5fbad36dd466c4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaGenerator.wireFieldAnnotation (cyclomatic 17): JavaGenerator.wireFieldAnnotation 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c23745ef54a37ae3e86ac2b524c2de5e52951c5515307fcc69deb5412c3c93"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinGenerator.generateMessage (cyclomatic 16): KotlinGenerator.generateMessage 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: KotlinGenerator.getAdapterName (cyclomatic 21) 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb59b49251109ddc8fed18b932d1be1b2ff10073e376e084ab2ce07661adbb72"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.retainAll (cyclomatic 16): Options.retainAll 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2abcf61e20addc67f7c3ebf3a9d51ac318e4185e933d6db7f967d29c09beab"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtoFileElement.toSchema (cyclomatic 16): ProtoFileElement.toSchema has cyclomatic complexity 16 (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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoFileElement.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa2a902f28ea7e6e35ccce652b4f1e02e0e5d156cbf8f197ac47711b8987ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.decodeFun (cognitive 103): KotlinGenerator.decodeFun has cognitive complexity 103 (threshold 15). Drivers by points: if/else 34 (68 pts), loops 8 (19 pts), boolean chains 8, match/switch 3 (8 pts) (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d943fb329fd869aa442f81a2fc74cd1e1174e9f039960eecff45026c95f6a4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftGenerator.messageProtoCodableExtension (cognitive 59): SwiftGenerator.messageProtoCodableExtension has cognitive complexity 59 (threshold 15). Drivers by points: if/else 36 (44 pts), boolean chains 8, match/switch 5 (6 pts), loops 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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49eb098c67310d7db6c590ad3f3c474fb2bd2c1aebc2fb1812e4c7ca349cbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftGenerator.messageCodableExtension (cognitive 48): SwiftGenerator.messageCodableExtension has cognitive complexity 48 (threshold 15). Drivers by points: if/else 32 (43 pts), boolean chains 5 (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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b3c2d0cfa350d94125018c3a6d9babe6af70d00b05d759cd4a8565ca9e7211"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.fieldInitializer (cognitive 45): JavaGenerator.fieldInitializer has cognitive complexity 45 (threshold 15). Drivers by points: if/else 26 (32 pts), ternaries 3 (6 pts), loops 2 (4 pts), boolean chains 3 (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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cfe10bc8d7ac624727320ab6dd3542b403a14140123fbed2e7882a2272fe70"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.decodeAndAssign (cognitive 44): JavaGenerator.decodeAndAssign has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 12 (17 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2fe9ea537e7054a5e905f8b91d66654b11188091d40b0060c6cac28165276d"}},{"ruleId":"D2","level":"warning","message":{"text":"Pruner.reachableObjects (cognitive 41): Pruner.reachableObjects has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 6 (19 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Pruner.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"125dfdc1b8f4e56992f3b49f34ce63ade81b0e40d88a16b55be3d648bfed245d"}},{"ruleId":"D2","level":"warning","message":{"text":"PartitionedSchemaKt.partition (cognitive 39): PartitionedSchemaKt.partition has cognitive complexity 39 (threshold 15). Drivers by points: loops 9 (21 pts), if/else 5 (17 pts), boolean chains 1 (nesting depth added 24). 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PartitionedSchema.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f815da6076a3c4dd379d22584741b01f12356512e01f4b4a6a3c86bfab4aa"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.messageConstructor (cognitive 39): JavaGenerator.messageConstructor has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 7, loops 3 (4 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a4fe616dab9ef0f6fd65d65fa1eb4f88525db40c7b1e0e751212eef9bec994"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.generateToStringMethod (cognitive 38): KotlinGenerator.generateToStringMethod has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 2 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"660a44a4615b0f9a290c3051db7e3f8a1fbe558eb72aaf514fb5813ef507369f"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.redactFunctions (cognitive 38): KotlinGenerator.redactFunctions has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (29 pts), match/switch 2 (5 pts), loops 3 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"855af0e5b28ced621fbccb5f6ef387310b04519f2d6f38e4a2f82405f135f34d"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.messageAdapterRedact (cognitive 38): JavaGenerator.messageAdapterRedact has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 3 (6 pts), boolean chains 2, loops 2 (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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd5373dca5ad44a6fefac032e4208459cce6fad7d397f964d3b7ad16535af63"}},{"ruleId":"D2","level":"warning","message":{"text":"SyntaxReader.tryAppendTrailingDocumentation (cognitive 35): SyntaxReader.tryAppendTrailingDocumentation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (8 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/SyntaxReader.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05cd8e6598a425372b9e9821577f339b06f3f1b6dc6c2f8d0f3a1fb11bfb951"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.messageAdapterDecode (cognitive 35): JavaGenerator.messageAdapterDecode has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 5 (8 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df15083ed205b02bdad97de19673481e381f8bf41db53a6b5ee0d005f52b3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.generateRpcFunction (cognitive 34): KotlinGenerator.generateRpcFunction has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (26 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fabc72594fef7000f9b9980aaf54952e5103b13663ebea08478b2bbb0d80110"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.generateMessage (cognitive 32): JavaGenerator.generateMessage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 6 (8 pts), boolean chains 3, ternaries 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2930933cddc10ff9410cadf474fe3ace2c072e8bbdfe4d5eb23e61c5fb12d67"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.retainAll (cognitive 31): Options.retainAll has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (9 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e65604b0c967655cf46eaf28755bc400db301a1b39726942b2903609a2a5add"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.constructorParameterAndProperty (cognitive 30): KotlinGenerator.constructorParameterAndProperty has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4980badb43a697d1d72eb4070b64aa5baa2cccd43e5c64b032e343409f6cea"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeMessageAdapter.decode (cognitive 30): RuntimeMessageAdapter.decode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/RuntimeMessageAdapter.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fe373a7ac5735fb5f53d3c05dd5bc3a1f5229b2dccc808938f48d7a1a3b4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.generateEnum (cognitive 29): KotlinGenerator.generateEnum has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (8 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dad142f5ba8e15ddfee17c891fb88bcfc4299e4eb187b24a84cffb7a74a0f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SemVer.compareTo (cognitive 29): SemVer.compareTo has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/SemVer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"155a487d14b180e2e1fb9e329a9db2e1b6c0c0b14986c4b9c63c3d259d1b35ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Linker.link (cognitive 28): Linker.link has cognitive complexity 28 (threshold 15). Drivers by points: loops 12 (15 pts), if/else 7 (12 pts), boolean chains 1 (nesting depth added 8). 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e0456023efda01170b836bd0970efa2443ecbbd41e65c6c5d19db42a011124"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageElement.toSchema (cognitive 28): MessageElement.toSchema has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 7 (14 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/MessageElement.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bb06e796cea4ed98bdc395493a696e5f261a8fc2a063c3f0d6382aa797aae4"}},{"ruleId":"D2","level":"warning","message":{"text":"Pruner.markReachable (cognitive 27): Pruner.markReachable has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Pruner.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570f25a8c8204a59d2a384e2b27611523c1016159e75df81539ba2caac937e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.canonicalizeValue (cognitive 26): Options.canonicalizeValue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e15bca2bfac7a2981b7cba86032736b2cb09b5fd1c7b9b0f98c6943cd62bb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteArrayProtoReader32.internalReadVarint32 (cognitive 25): ByteArrayProtoReader32.internalReadVarint32 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (5 pts) (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5942a880cc8ad8aef88e1ebf08a2dda891d7c53d0bade9a19ee9dd6d8be8462"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoReader.internalReadVarint32 (cognitive 25): ProtoReader.internalReadVarint32 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (5 pts) (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47c7aa0dedca705d5222a9661d644d276e576f6c6587b03df67199cb298c8ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Linker.validateFields (cognitive 25): Linker.validateFields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 5 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c980f4ca762b9931573844d8b435d73cb0f2509fb5380441a11f11c54f23e5b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoParser.readDeclaration (cognitive 25): ProtoParser.readDeclaration has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (6 pts), match/switch 2 (4 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaba21521522158daaaecc46b602ee658b4bd2d69e4f9226291dccec4b8ac09"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoAdapterKt.commonStructValue (cognitive 24): ProtoAdapterKt.commonStructValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, match/switch 6, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a8bc9cbd84bd1f7a2b420a5dd29b7123cce5bc563a066ae5c980a9aca91fc"}},{"ruleId":"D2","level":"warning","message":{"text":"WireRun.execute (cognitive 24): WireRun.execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/WireRun.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c417ef68382c37d520fdd2c93379d01999913d50903e19a20ec54e269d6281b"}},{"ruleId":"D2","level":"warning","message":{"text":"SyntaxReader.readComment (cognitive 24): SyntaxReader.readComment has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/SyntaxReader.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e734ed205a3bca775c3caa7434cc9b25a2f28d4b4946685e673483b220a838"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftGenerator.generateMessageExtensions (cognitive 24): SwiftGenerator.generateMessageExtensions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81dfba6656926c9b190530e855968bba3a8255677b2d50b78b2dafa171245ff"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.nameAllocator (cognitive 23): KotlinGenerator.nameAllocator has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b03a907342b78882bee4e9a4a50d45ce42110beee0c761bb0f87f6e4f1de59"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.singleAdapterFor (cognitive 23): JavaGenerator.singleAdapterFor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22 (23 pts) (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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952ddd7aa493e3db27a26c805adedc550a0358436f596670b33d4bffc1a3a5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoFileElement.toSchema (cognitive 22): ProtoFileElement.toSchema has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 7, boolean chains 1 (nesting depth added 7). 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoFileElement.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a214ba984a8b49c0f98b97e77f99edfaecd282c8cc3f41c77143ff7711af3b55"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.generateBuilderClass (cognitive 21): KotlinGenerator.generateBuilderClass has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (5 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c6a1ae934fdb8006c04bf3a6e572e09e3e912afc7f6b2fdc976fcfe8c8189b"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.decodeAndAssign (cognitive 21): KotlinGenerator.decodeAndAssign has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7067ea1a46ee62b3b25c04af948654ffc661d741003dd98b49efd495960c0fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReverseProtoWriter.writeString (cognitive 21): ReverseProtoWriter.writeString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2, match/switch 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ec5042daa1872c5d8da7b18b120aa82e392d1772a9283129c0eb1a520c34b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoAdapterKt.commonDuration (cognitive 20): ProtoAdapterKt.commonDuration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 4, match/switch 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7d4fb5f684b5d89e4d8f1714694544136dd59bdd4aefbd01319155ed1efb16"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeMover.fixImports (cognitive 20): TypeMover.fixImports has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aff4e39f89e72de5d01d285b2595744f60dd149c32fa5db05e49f3357f97488"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftGenerator.generateMessage (cognitive 20): SwiftGenerator.generateMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ec48d52de0fc5bf4fd08eae645fd90dd4a92ca3e2a4468c41770830be66c62"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.encodedSizeFun (cognitive 19): KotlinGenerator.encodedSizeFun has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), match/switch 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3c093d528b32a9d302dd8b088f13c2758d91d03b1cf783a61ac7c1ab4aec53"}},{"ruleId":"D2","level":"warning","message":{"text":"Linker.resolveType (cognitive 19): Linker.resolveType has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f173022329f2161212370480dd5026c547d8c6badd538615bf2fbff7e5e92c2"}},{"ruleId":"D2","level":"warning","message":{"text":"WireRun.refactorSchema (cognitive 19): WireRun.refactorSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/WireRun.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9fd510a48e9ed50ba8d6837b83d7df34b5f8e5017a20b59c3a9515a25ba3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"OptionReader.readMap (cognitive 19): OptionReader.readMap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (3 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionReader.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"58979fd372c13b03cbb99a25823d18ac8adb2064b4d2129b35f5fc495467bb69"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.generateMessage (cognitive 18): KotlinGenerator.generateMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 3, match/switch 2, 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627fd4de17cebf7cbc03747d7e2e5389405226133791ddd8f6fc714678a15b5"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.redact (cognitive 18): KotlinGenerator.redact has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, match/switch 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6129f3e476334dc0d15f8f519f1d65ce5a0ee469293f03c3888daafdbb8e07"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinGenerator.sealedOneOfAccessors (cognitive 18): KotlinGenerator.sealedOneOfAccessors has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7461fa83603da91aa6c58d918fd259456ab14f6c0e1cfae584238c7b4fa871cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.canonicalizeOption (cognitive 18): Options.canonicalizeOption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5656e5d6e6020c51bf88f9b5e81df92511143239b1dcbb8171434435a917880"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.wireFieldAnnotation (cognitive 18): JavaGenerator.wireFieldAnnotation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7397e301467731e990342149d2a1ccff66b3b4a645059e039a896fb1801639"}},{"ruleId":"D2","level":"warning","message":{"text":"WireCompiler.forArgs (cognitive 17): WireCompiler.forArgs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, loops 2 (4 pts), error handling 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1fb209acb6e2c6e5853fffe23b47dc9cb7df3a86214fc1d443bdc8f922efa1"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaGenerator.generateEnum (cognitive 17): JavaGenerator.generateEnum has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (4 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f913d9f96b51323386014cc9b608c1d34c07198ec298fb6891536276ba704bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoReader.decode (cognitive 17): ProtoReader.decode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"323fef48270d974046ed416eff6c2302905dd9c57550a90d69a7a68d8a265ced"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoReader.decode (cognitive 17): ProtoReader.decode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1, 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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"045dd988e1dda971c466691088cca055596a7dd82c0fe4f72ab0aba7564ec5c2"}},{"ruleId":"D2","level":"warning","message":{"text":"CycleChecker.packagesCycleMessageError (cognitive 16): CycleChecker.packagesCycleMessageError has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/CycleChecker.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e662b83e857fd8c509a7758ba8b1410808a27bd692e6e0afdf123fe91a7a80"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtoParser.readReserved (cognitive 16): ProtoParser.readReserved has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4, loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f117ea90ce174a73efa4a4b3af7798ecfcf93e6ace7fa9b493d23e68a216b5b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/KotlinGenerator.kt: FileTooLong \u2014 2712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2212 over it, 5.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda2a314cdbddff76ab2e13b590f72ad7356ff27badf90abb4a9096ea4fc2b02"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SwiftGenerator: ClassTooLong \u2014 1470 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 1070 over it, 3.68\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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"44683bc45bf56629103e3d0e1227e63328e5e1669cd81be2608d89683d54409c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: java/JavaGenerator.java: FileTooLong \u2014 1810 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1310 over it, 3.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c7c8d24889fbf30d2a6a9ac30a882cd0df8c8b57cfbdb639922d2a3484641"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swift/SwiftGenerator.kt: FileTooLong \u2014 1525 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: SwiftGenerator (73-2145). The bar is 500 significant lines; this is 1025 over it, 3.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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f88aa8a685c1ab14d93d0d012f1f1e7b8ece32dcf8e0a1146b01d4354592948"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KotlinGenerator: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.80\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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"12197bc8e051243bdeeee6f98ab0a2a2cfd4b994177278d81eb0d12e0ebc2dbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavaGenerator: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0523a1a892cdbe95994097c2c17fb0d063658d3e5baea9d826730ac8ab0d6a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtoReader: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc20458718851e7723ff2a26371b9e13cb431b169978d34b2f7d298beea97fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtoWriter: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d069e5a86ced9088f205d2b3733ea7b68781d273dbc6383f1a8499efdbce27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/ProtoAdapter.kt: FileTooLong \u2014 1094 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 594 over it, 2.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"022dfd39f723dfe607a2872bdda5842574a4ee0481645ff97b387f8a0f06d779"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwiftGenerator.generateMessage: MethodTooLong \u2014 generateMessage 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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b851fd3b6af81f087c6462db37dc1780424bcc839d5f082d827e1aa5c858203"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.forArgs: MethodTooLong \u2014 forArgs runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1826b88b1bbd3ff800950e41d411619b7db3431e5c34db1cb122d2c01c507e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProtoReader: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 400 significant lines; this is 125 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2bb4c51fa0f98d38d9e6f2c93cf650448c981f8158d7d2dd00bf48081c3ed0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WireExtension: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireExtension.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c9031d8f1584c07c01acaab5b80cbe9151bf462a0c92c3d81f0b46e38720ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtoAdapter: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3918a39dd88c6696e64451af97ffe958983c8ba751988d5f91df52a39a2b22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SwiftGenerator: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb2d6c62bc543e5bd8cdbeb0afaf129592b8a85ea3f893d6248af48d15782ab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProtoParser: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 18 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c027b5fc719ca10fc0c234624262223bb9a3104aa92050e556f6926c7adb69de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteArrayProtoReader32: 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"98866cc4af0fe677bbfa0b8305bf3161a574d9d997be8c48732f9afdba14208f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ProtoCodable/ProtoReader.swift: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ProtoReader (18-1129). The bar is 500 significant lines; this is 26 over it, 1.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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac49de4d06e6c37720ba1ce5cebb9ae04b1f7ca1219d391b178082c34e290c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1219-1307 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1323-1390 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd698dc8bd259d8bb0cbded90326387eccef5165f4a42645a0b186853b79b4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1194-1240 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1245-1296 \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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c2283843b789f480179bcdd9d14668a72078de661eae713e5c3409a07d506"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:218-261 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:248-291 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3124218b07d483defb34483c9bd9dac46167d0f7161ee1c260ff793f690e558c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:152-200 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:174-222 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3d23a2ec6a03700516fbbf2c005d09e6ff533f9ed3093c691f76b97ae1e4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/WireTypeAdapterFactory.kt:87-110 | wire-moshi-adapter/src/main/java/com/squareup/wire/WireJsonAdapterFactory.kt:87-114 \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":"wire-gson-support/src/main/java/com/squareup/wire/WireTypeAdapterFactory.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd1d3bdbc7263333cd741a3ba91376a6b6206a8bc45ae5f1caee8d8413cb723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/MessageType.kt:166-197 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/MessageType.kt:199-230 \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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/MessageType.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9700061f65ae4cc7ca8d64f08a7726c4dd7833ba4aed8c2b1d889ea8283cf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/AnyMessageTypeAdapter.kt:33-62 | wire-moshi-adapter/src/main/java/com/squareup/wire/AnyMessageJsonAdapter.kt:31-60 \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":"wire-gson-support/src/main/java/com/squareup/wire/AnyMessageTypeAdapter.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae476c27d059b1a0912fa777fb3fcbc736b8a5146269e7a25b7f13075a6d4044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:56-84 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:86-109 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:138-166 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:178-201 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d932a47dd25ce15dfe690f53df2d9450ee11ae6e271aa287d5790908a4ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/MessageTypeAdapter.kt:58-89 | wire-moshi-adapter/src/main/java/com/squareup/wire/MessageJsonAdapter.kt:65-99 \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":"wire-gson-support/src/main/java/com/squareup/wire/MessageTypeAdapter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b6299b1fc955bea1488f160a350608923498d45104b0c2c6eeaa6d807c0e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:271-292 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:592-613 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f6ad54acdb6b2a3e7295fced5e071c909912b688c7a527c4241debfb8c227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 23\u002B corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:918-940 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:942-964 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:966-988 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:990-1012 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1068-1090 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1092-1114 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae53ba7b0c552059e87522e1a64197dee25c46897cd68ca5e80707bc82d57363"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:265-289 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:295-315 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2fdfa8a0281952d20190058294617fccb5c2e61cd780bfd4f411db8078db2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt:117-141 | wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt:143-167 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3159613cc8f0524d93a0fc6e9763291b0ff8b89f776aeb891ac99ba420cdf602"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt:26-45 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Roots.kt:26-45 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0c3cab123cce88e00dcbc2f8ce6c8fecdfd04d8b69d6b2505bea7fff5dbdf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcCall.kt:51-75 | wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcCall.kt:84-101 \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":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcCall.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc1afbe1514aee5a0574010177d67147910b26f502768cb45dfc9be7772057d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/LiteralValidation.kt:106-119 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/LiteralValidation.kt:121-134 \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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/LiteralValidation.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"238b2849aee318626acf6207aba82f2e3cbdf2518cdee74ec2556aaa3162351e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:343-359 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:392-408 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8bcfce1555a7e230ed8b2fde7c34c502d2120c845dfd315c93c619183302dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ExtensionsElement.kt:30-57 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ReservedElement.kt:28-50 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ExtensionsElement.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d4d3c88c9a860c2a34eaff4072446e9f1670050c3d49cb0f1657a4a7cac4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): wire-runtime-swift/src/main/swift/FieldMask.swift:48-64 | wire-runtime-swift/src/main/swift/ListValue.swift:48-64 | wire-runtime-swift/src/main/swift/StructMessage.swift:48-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/FieldMask.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88527a8f7bff614417f646cd145f2ac83f0e4b7e73d852c00935e6b13733b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt:529-553 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Service.kt:73-89 \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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Linker.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9217d36128062b22d4fc949e884713c59570ec27444f3e25c52fe91177fbe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ProtoFile.kt:91-107 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ProtoFile.kt:110-126 \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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ProtoFile.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb06935d8c0eab37743267aee72c915f71728e9554808fbd9be55ddfb1718ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:412-419 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:422-429 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:445-452 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:455-460 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9ff517afdbd7b5103ac778285e2f24a43ea50a9bb57df9deddb17035271df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): wire-compiler/src/main/java/com/squareup/wire/schema/Target.kt:332-355 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3831-3851 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-compiler/src/main/java/com/squareup/wire/schema/Target.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e599b0408ec060fb47b86cbaf1f48da14ed626f3a9c282ce2cf7086f772d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:171-177 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:187-193 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:203-209 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:219-225 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"552b98adbdb6c4e92259edd08d332a1a4e0286d425eac63496b79222759a433a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/-Platform.kt:42-60 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/internal/-Platform.kt:44-62 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/-Platform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de04741ff404c4e287fbc0461b50815af2956180468889c9eb71da8a19d9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt:135-146 | wire-moshi-adapter/src/main/java/com/squareup/wire/MoshiJsonIntegration.kt:116-127 \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":"wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b2157a574f6859efded3fb4c7e2091fd85d2c86b06807d5b9bb3bddadccd5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:480-487 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:498-509 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:524-535 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:537-549 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff67ea66ac77444dde7794851338381b8a304b04719c61cac8ed6b932b336274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcCall.kt:125-134 | wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcStreamingCall.kt:113-126 \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":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcCall.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aae0e5713f61549a0439caf5b19e316f62babf9113ded962d41582e5470f552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:125-131 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:390-397 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf65bcb0c02a0bcecd70bd5f44cb840bd9221c652e729b6d0b5b552318941b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoIntCodable\u002BImplementations.swift:24-36 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoIntCodable\u002BImplementations.swift:105-117 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoIntCodable\u002BImplementations.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3fa4731a439a5a426e9dc1f9cda47ce62e9fd398f02ac666ddf793564e8fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:356-362 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:381-387 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:403-409 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cad2f68405d31a8b64bd761e32746cd6ef263176cbe6859b5b59e9d4cb27ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wire-runtime-swift/src/main/swift/ProtoExtensible.swift:162-172 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:262-271 \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":"wire-runtime-swift/src/main/swift/ProtoExtensible.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bce8af2f9b73574c6a346a8f4ff8b5ea073612a8b6c1a580189f1810ec5922e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EnclosingType.kt:43-48 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EnclosingType.kt:50-55 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EnclosingType.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41fb2220188df46a1a4ebf4d31018c659dcc47d813ed37406c7d93e8bd76c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:247-256 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:284-293 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:308-317 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:319-328 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bfe8376c48026b0bee0b6080b2810479f293475c9664045cefc05548a11349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 10\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoExtensible.swift:81-90 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:103-112 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:125-134 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:147-156 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:174-183 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:199-208 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:224-233 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:249-258 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoExtensible.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f041101aa3a54c1148782cb2c3891cbe8c9827bb60d3db0a45089f6c0d767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:225-234 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:236-245 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:258-267 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:271-280 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:295-304 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7601c1e26516a8b10e3bad4bef6d78eb26dadedf305d2b819ce1086794282ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt:46-59 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt:82-92 \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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"897a5366718885d61f5253d9acd380227900d340c2a5d7aa8de931ea5e30436f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): wire-runtime-swift/src/main/swift/Codable/Codable\u002BWire.swift:202-207 | wire-runtime-swift/src/main/swift/Codable/Codable\u002BWire.swift:209-215 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/Codable\u002BWire.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c510197de9618662b8950af8b8bbb4e9fc41259e8441272e70651c90638f52c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ReadBuffer.swift:104-113 | wire-runtime-swift/src/main/swift/ProtoCodable/ReadBuffer.swift:115-124 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ReadBuffer.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb03c812c0175f07bb447e76d091d5bf79190cd84f462e4c74f6a80d7f14dc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): wire-runtime-swift/src/main/swift/ProtoExtensible.swift:36-44 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:388-396 \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":"wire-runtime-swift/src/main/swift/ProtoExtensible.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48780981b95f7b16f29519fc9793cc90955d08bb070c171aa3fae5f2f691346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt:109-119 | wire-moshi-adapter/src/main/java/com/squareup/wire/MoshiJsonIntegration.kt:87-97 \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":"wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd86ef861c72ad09a715f12b7eade50f0442fadd0ac85e2110bb948e99bc065"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:728-736 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:741-749 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:752-760 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e7fe8087a20b3672a10fa4853eff7a807a5a935da3922137c721da947da74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:1687-1693 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1592-1598 \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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e59c72f0353d6fb17ce5e43871a3f28118e1484bf03c76974a576ef91b0ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoExtensible.swift:26-34 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:70-79 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:92-101 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:114-123 | wire-runtime-swift/src/main/swift/ProtoExtensible.swift:136-145 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoExtensible.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0622065aabd83b36938933946bfcae54e2d06e8d48051ee7231110097a814da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 5\u002B corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:168-172 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:175-179 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:182-186 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:189-193 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:196-200 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:203-207 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:210-214 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift:217-221 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoDecoder.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56cb91d0e7eda159925ccc51d6086214d394c936f78d47b80250a048c970a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:1099-1108 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:787-796 \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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fa5a7a0341f88079599f86151f0891d36b3fb82cfb917e12c95b2a604565e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:204-215 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:234-245 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"226c715d60b76cabe33e9fa3f547874faa071442764ede7c6ae45565bee01013"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt:148-155 | wire-moshi-adapter/src/main/java/com/squareup/wire/MoshiJsonIntegration.kt:129-136 \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":"wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4f1823643c75592beaaed846aef2158d9385bf5c28287f5910a7020bba5df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinSchemaHandler.kt:195-209 | wire-java-generator/src/main/java/com/squareup/wire/java/JavaSchemaHandler.kt:98-104 \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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinSchemaHandler.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0850cb7bc507323132ea544564d1bd9abcc581e745cb234d180e03b585ac74f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:139-150 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:155-166 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"60539814fedff47e2722d04483f873ff4fe406d543bf4646f2c1ef980be4bd68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/WireTypeAdapterFactory.kt:69-78 | wire-moshi-adapter/src/main/java/com/squareup/wire/WireJsonAdapterFactory.kt:65-74 \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":"wire-gson-support/src/main/java/com/squareup/wire/WireTypeAdapterFactory.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49cade861101856b325befaed0eb55da991d3d7851c98c9ab3bfe338b304140"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3911-3918 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:288-293 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":3911}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9ddccd2cd9006956c4ffcf861f54570b39ee28205f254288e13ba3136644e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:426-434 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:521-529 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c34b23f41e21676ee1b99813fdae1ad553b565053ee82db5cc3fe78d551c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcDecoder.kt:34-40 | wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcEncoder.kt:34-40 \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":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcDecoder.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad26272d0f985fb4e935dc2fbd9c0458616cb202d35b16982f2a7811edc70be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt:85-92 | wire-moshi-adapter/src/main/java/com/squareup/wire/MoshiJsonIntegration.kt:63-70 \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":"wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed67c95dbb34972eb93ddc7c531940cabd11cfc394b6874c4164101ce47f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Duration.kt:40-44 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Instant.kt:37-41 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Duration.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c4a4c8bfb265497786836ad07ab1794afa3510fdd6eae4f4c9a1eba116febc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): wire-runtime-swift/src/main/swift/ListValue.swift:79-82 | wire-runtime-swift/src/main/swift/StructMessage.swift:79-82 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ListValue.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de050daa3f8af66475367cc62659b98c9019cf7150673a76546735bffd5de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:165-200 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:187-222 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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 \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:165\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, \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:233\u0060 calls \u0060Throws\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:204\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a153e2144f587e54cb1074972bf0a9ba2d8e99add4ef64c453bc77e4374eec57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:306-341 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:353-388 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:391\u0060 calls \u0060Throws\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:343\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2292daa523fc07f98e86e7db0581d49a6ae9ab14b1d61293e8d18db4b05c7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:780-810 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:813-843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f05d4c082ea1b9759b3d23fbcd01a03b3419d52b6115d08e16b2ddffbe7b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2789-2813 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2846-2870 \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 \u0060wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2789\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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"b050d39e3061bdc777cac2e55eb3221054b2f6222aff93c4939b034ecb33dc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2763-2785 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2819-2841 \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 \u0060wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:2763\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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f162b9bf712531e1cc232faa228ce3de52e21d619d0aad9af1047eb28f2c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1016-1038 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1044-1066 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int\u0060 in one and \u0060Long\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce276dc02d4e66c3638f3f4c78d42940e48fe37d0a4e039e3c3906afb9ac04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:355-373 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:517-535 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1748-1768 \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 \u0060wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1748\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, \u0060wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:513\u0060 calls \u0060build\u0060, \u0060builder\u0060 and \u0060wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1748\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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6185ba6c5e2dacf7da3afc2061a301dd007552056de09544fa1bb3ae044a780a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:223-242 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:253-272 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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 \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:223\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c05fbf451be231e69394771081d977090b9f2b1d6ef3809e898e27e6e911b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1724-1741 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1744-1761 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d972d9ef391cfe5323ea09fef7e4c690c0a930c002f91f2159a1e07fb75c98e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1511-1527 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1530-1546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e605045929d6cfc310de78f0dea75d42a5c461fc55bd18e35287767c1ec4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt:560-575 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3792-3807 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt:560\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":"wire-compiler/src/main/java/com/squareup/wire/WireCompiler.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd801fc98980de1f9978e053a11e0364dfee7f40f6f1d8059a245c8a293d42ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1808-1823 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1826-1841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c8a93dac79c1a801df320a0dbdf21c525d581b8a5bbfc50ee84ac254b967ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:393-408 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1771-1786 \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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4d44c1503f088310741ee68ba4cedb0c27790a87437b30236c16be2da6e2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1249-1263 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1266-1280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da6d21c6844e496a721a0da31c598abca2459cb934d0b248a631da73cf2aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1356-1370 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1373-1387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbc6ed200f8d2a9d6dec700487181a8ad893e8f9a4e96a006f30baf7c66f7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt:118-132 | wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt:144-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt:118\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":"wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a569e7a369aac33ebf9f35b19a0a8d8db04f3a33b3273a2818d07257e0ab83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1195-1209 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1246-1260 \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 \u0060wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1195\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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4046d7ba4c44b9a24851f7c9cb991d41272ce5e24c6f3b96027ea6fd0ca30fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3325-3338 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3399-3412 \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 \u0060wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt:3399\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":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f09109a75218cbeb2bbb0254c65dbe0d5506486d5efd0ca4b0ef0179befb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:344-357 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:393-406 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ffd78fb2ccb6e212c31908d595c3d0735eb205221b16ddda17688560814966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:59-72 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:87-100 \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 \u0060wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:59\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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbad405b02217d7577b145f05a1e2c5cc40ea301fb9f55cce79ba5f15c0b164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:141-154 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:179-192 \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 \u0060wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"432ee75d748451ffba87ee017a11c34c17d5c8b2537ef9b32d7a6b723aa72f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1249-1261 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1266-1278 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1356-1368 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1373-1385 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec14a492b7d2ab0f95ddfd87b6fbba776316f40a4defc9e89c2657b091509b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:118-130 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:116-128 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:114\u0060 calls \u0060Throws\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:115\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6024c9f8bc4363db8c383c68a7a07d2a4874b4c0796ac8f5d28c89925943290e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:222-234 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:238-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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int\u0060 in one and \u0060Long\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a8446ef7c0fcbfacc8a83f2515366b14e730890ffcddb4bde102f863e1960c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:67-78 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:149-160 \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 \u0060wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:67\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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"994c36ffd3ba5e05a1f5e91831a398bbc19deb2ef5ef9180e081319db208f5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:336-346 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt:349-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3feee2e47920a8e4781a8b0c620b918d8c1aeab25fb2f34f1aff09bab4ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:95-105 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/PruningRules.kt:187-197 \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 \u0060wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EmittingRules.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc56b0cc00ba8589702df7af0f529a677a257cb7703a8d638cddb56d58a2ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt:274-282 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt:300-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9185d56d4e16c8ea6eb724e6a998357c8789b774129d5c9f435b7f123af9f021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt:27-35 | wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/Roots.kt:30-38 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Roots.kt:27-35 \u2014 before extracting anything, compare \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt\u0060 and \u0060wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/Roots.kt\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7871210579a172a6bb34198dc19f027874d36395e101c93ee646a432a6df67ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:461-469 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:553-561 \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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16a8eea103dad81cfd64d98fffeda048ab6e571ecdad6a374c66d51a598b2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1340-1348 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1448-1456 \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 \u0060wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1340\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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b7a0a0c3b6d87422e3307cf912ed17fb6da321c2f49dfe8e18be5ec70087f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:254-260 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:267-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int\u0060 in one and \u0060Long\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a47e407207d6871870d3c5c4f8741d7619944507b8fe4ebec42c410acc4950e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1677-1687 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt:1690-1700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060writer\u0060 to \u0060ProtoWriter\u0060 in one and \u0060ReverseProtoWriter\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b883997092a0c4d0986fd318be80cbe4536c08fc07fff706260de86d53d31a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:259-263 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:276-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt:259\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 \u0060Int\u0060 in one and \u0060Long\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"97807406147577709eef6894b767415eab43330983a380bd0dfc682e3fc0cccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wire-runtime/src/jvmMain/kotlin/com/squareup/wire/EnumAdapter.kt:44-62 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/EnumAdapter.kt:28-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/EnumAdapter.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e819833d5ae9fd485c05e7f86c4a600ef3990bdc9ec94253433e6d5317e824b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Multimap.kt:29-38 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Multimap.kt:29-38 \u2014 before extracting anything, compare \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Multimap.kt\u0060 and \u0060wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Multimap.kt\u0060 as WHOLE FILES: 93% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Multimap.kt:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Multimap.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f36fa3320fb29671d79aa28e6520f6c0eb65ddf005c9b9d0269697f963b3355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt:26-75 | wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt:30-79 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt:26-75 \u2014 before extracting anything, compare \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt\u0060 and \u0060wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt\u0060 as WHOLE FILES: 98% 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt:28\u0060 calls \u0060constructor\u0060, \u0060this\u0060, \u0060asOkioFileSystem\u0060 and \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt:24\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":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/SchemaLoader.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5d1f8c616827a87b4245820902a1a11cb7be67c318cd4b9b74e29a7a8181f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/internal/UtilJS.kt:18-31 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/internal/UtilNative.kt:18-31 \u2014 before extracting anything, compare \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/internal/UtilJS.kt\u0060 and \u0060wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/internal/UtilNative.kt\u0060 as WHOLE FILES: 91% 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. 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":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/internal/UtilJS.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a53f2d5c419306424591ecaea2a829adb3ef9e5500e4c573682ae0bbbe44de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:100-115 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:91-106 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:114\u0060 calls \u0060Throws\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:117\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5961d2639b8237fca4742d051c0a2c1786c8edf11f265615cad6cb5491f5b2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:268-289 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:308-329 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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, \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:332\u0060 calls \u0060Throws\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:291\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18184ebbc30e2abfd2ace4a77c19528ac2c3f483457303b11681468a5902b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:296-303 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:343-350 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29a22661160f3a69bbb97abe367c2e7a89358a584106b98635d788a3f3c2976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:379-394 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:439-454 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebb3815f5556c2acf8cb82e385ff0225aa12aba473a64dfee8ce0e7587dd2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:408-413 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:492-497 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f19feaaebd189661f82528962e7b7fa38d386b53e8949236c05d42de688e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:419-424 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:507-512 \u2014 before extracting anything, compare \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt\u0060 and \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 193 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 \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt:419\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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fe27461f07e7d569e04d61c2984648100bd8da64a1373d2194daf84dc8286b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:478-486 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader32.kt:157-165 \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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad720165122d89e6fba6dac46e002316bed668d685e272e135d048a0a08ce34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt:37-41 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/FloatArrayList.kt:37-41 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/IntArrayList.kt:37-41 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/LongArrayList.kt:37-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa466cf00aa28eac99227e0aeb222b0ebf36589050091d8ba9d6d3f593c932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt:118-123 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt:80-85 \u2014 before extracting anything, compare \u0060wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt\u0060 and \u0060wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt\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 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt:118\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":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c003d4bca8b670186b249263d3720cc997cbd3dc01e3c835d7e5979f3c46835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt:125-132 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt:87-94 \u2014 before extracting anything, compare \u0060wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt\u0060 and \u0060wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt\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 3 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":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb1ed5422ff8de9683bbde82243c28e98385efa194d883531fe886de2587979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt:146-154 | wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt:108-116 \u2014 before extracting anything, compare \u0060wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt\u0060 and \u0060wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt\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 3 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":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d457c3c82bb25382f4267e9898c7c928f1aaf100cc80b1ed59e0b22604ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt:53-63 | wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Roots.kt:53-63 \u2014 before extracting anything, compare \u0060wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt\u0060 and \u0060wire-schema/src/nativeMain/kotlin/com/squareup/wire/schema/Roots.kt\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"wire-schema/src/jsMain/kotlin/com/squareup/wire/schema/Roots.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8ec7d1c49c57273a6f1e22271f773f62cac487071d7596874184572e27b78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt:94-101 | wire-moshi-adapter/src/main/java/com/squareup/wire/MoshiJsonIntegration.kt:72-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060JsonReader\u0060 names \u0060com.google.gson.stream.JsonReader\u0060 in one and \u0060com.squareup.moshi.JsonReader\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"wire-gson-support/src/main/java/com/squareup/wire/GsonJsonIntegration.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd14cdb54e0bff0304b4312862fcab18f7385747835bda93bfbe12090783329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wire-java-generator/src/main/java/com/squareup/wire/java/JavaSchemaHandler.kt:111-115 | wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinSchemaHandler.kt:235-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaSchemaHandler.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7866824302b010afa52892dba441a51313415d25395fb79d310e214203cef20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt:49-54 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/FloatArrayList.kt:49-54 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/IntArrayList.kt:49-54 | wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/LongArrayList.kt:49-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a503f660f7b0a1bd3c2d59ae4cc8c7a454a5f387f945e094480ba18f812ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:970-983 | wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt:1070-1083 \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":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92263282afe9540386afb3a49a3c45e0e382b625fe680d9c4129bf8ae6e74c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:495-501 | wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:542-546 \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 \u0060wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:495\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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3bc3ede0b021b720f73605b4b63a20062ebeffe2ecb0e6a8ff9b049cae3cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java:714-724 | wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java:819-829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060EnumType\u0060 in one and \u0060MessageType\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":"wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b14e9fab6c47bc5c7c968383cb8e33be27f838496acfe622acd16d712ae558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:273-287 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:594-607 \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 \u0060wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"be53bf7c9ebf33c5d600a0c89ee57477e2cab24573238ae9be3cd31762868b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:1017-1028 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:1070-1081 \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 \u0060wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift:1017\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoReader.swift"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f094c5e55f0fb0211e086bb47b205a3fae8cf763790fb8fb800c6b23d034a89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): wire-runtime-swift/src/main/swift/FieldMask.swift:51-61 | wire-runtime-swift/src/main/swift/ListValue.swift:51-61 | wire-runtime-swift/src/main/swift/StructMessage.swift:51-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/FieldMask.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5038c8051e78352e40e0a0efe1b92ddcf25832787436c1a605e4be1bf91a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:366-375 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:433-442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060[Data]\u0060 in one and \u0060[String]\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d53a0f156fb9c57a33f2f06948b6a1c7ddda39f356549f3eb1e2f7c10f2494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:93-101 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:257-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Data?\u0060 in one and \u0060String?\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6298a7f3ed96a98cfc3d50ca47f526b1c811a39778020cda710742208c448707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:413-419 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:446-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060[Int32]\u0060 in one and \u0060[UInt32]\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f10e8c955f6c8d856c8624ff0ad0ce4fdc495f27b82f8ddbb7df53de5eed94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:172-177 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:204-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int32?\u0060 in one and \u0060UInt32?\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b640bcfec6ca5023f02cd96d59d2b58708d9df2064541d1c82a69ddad18670e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:188-193 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:220-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int64?\u0060 in one and \u0060UInt64?\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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"679596de34593b63f661524f8f856500778e42ebece65eef9d42b78d0195f891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:501-506 | wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:541-546 \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 \u0060wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift:501\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also 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":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca149285cce9c95d447a5dfee6b756248d595339d07b870df2d8189dea525e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): samples/multi-target/src/commonMain/kotlin/Main.kt:18-25 | samples/native/src/nativeMain/kotlin/Main.kt:18-25 \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":"samples/multi-target/src/commonMain/kotlin/Main.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7e9968613646de52b067cf4b56045aaf3b0e197504d6559640aefda40d6328"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): wire-test-utils/src/commonMain/kotlin/com/squareup/wire/testing/files.kt:48-52 | wire-test-utils/src/jvmMain/kotlin/com/squareup/wire/testing/filesJvm.kt:68-72 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-test-utils/src/commonMain/kotlin/com/squareup/wire/testing/files.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"028a54e4337c07360af6a1835b718cea65266dda2dfe05d82c801049651873e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): samples/wire-grpc-sample/client/src/main/java/com/squareup/wire/whiteboard/MainActivity.kt:74-85 | samples/wire-grpc-sample/client/src/main/java/com/squareup/wire/whiteboard/MainActivity.kt:120-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060samples/wire-grpc-sample/client/src/main/java/com/squareup/wire/whiteboard/MainActivity.kt:74\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":"samples/wire-grpc-sample/client/src/main/java/com/squareup/wire/whiteboard/MainActivity.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b73d821f152666be37cc6294b34abb703a1a1b5e1e1f500bbfebe47d82b9b73"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: wire:wire-schema \u2192 wire:wire-schema-tests \u2192 wire:wire-schema (one cycle inside a mutually-dependent group of 3 modules)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1299da550bfa96bf56ad3c6284c4087cd89d6204038c71b951c118680b0bb9c6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: wire:wire-moshi-adapter: wire:wire-moshi-adapter: abstractness 0.00, instability 0.11, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2f05e088aa9ca4417e7c4d6c18f52777c55d55e2e3f35f034d6b6ead3a021fa6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: wire:wire-gson-support: wire:wire-gson-support: abstractness 0.00, instability 0.13, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ac8dda09756c8da9a58e482977ae5cdbf3c6d9a9faf8bcf314872dc640d0105a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: wire:wire-test-utils: wire:wire-test-utils: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ffdb178b4b7862bc3df3e034a37f353e2b92b6423641916aee09596729cce18"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: wire:wire-runtime: wire:wire-runtime: abstractness 0.29, instability 0.00, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3d08f9c95775ec4b250f60356bb84b35623cd16e8e66a46a235f6b5c3a9e1a77"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Builder (LCOM4 145): Builder\u0027s methods fall into 145 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 145 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":"wire-golden-files/src/main/kotlin/squareup/wire/alltypes/AllTypes.kt"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6c587c4e2ebef2187634724cfe1bb2d5666178508d29105b76b4c571507b6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"01583a0c194289959e71817aaeaf053fd4437f5c0bc5d638a8da404c8765d84b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-generator-annprocess: \u0060org.openjdk.jmh:jmh-generator-annprocess\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc4b012c5d7cfe91687089c2615f4cd0eb108c448d567beaf217196ad6a929e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt: wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in KotlinGenerator.decodeFun at line 2014. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:46:17 \u002B00:00\u0027 --until=\u00272026-11-13 14:46:17 \u002B00:00\u0027 --full-history --no-merges -- wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c15abfadfab4481fd31a33aab994e61e1d4710500888c1a184972e7f15dbbf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt: wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in SwiftGenerator.messageProtoCodableExtension at line 572. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:46:17 \u002B00:00\u0027 --until=\u00272026-11-13 14:46:17 \u002B00:00\u0027 --full-history --no-merges -- wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"69621bed7f8d02b269d632d2136509527e911b8b6808e9b6eaea17a9bc40c42f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoAdapter.kt, wire-runtime-swift/src/main/swift/ProtoCodable/ProtoWriter.swift, wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/Internal.kt, wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt, wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/SchemaProtoAdapterFactory.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/RuntimeMessageAdapter.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ReverseProtoWriter.kt (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97afe916d5ffc00e189c5f9a822a68a196b68492d73208663ec14813429cabd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) This tests exactly match some others in \u0060AnnotationsTestAgainstJava\u0060. We should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-tests/jvm-kotlin-interop/src/test/kotlin/com/squareup/wire/AnnotationsTestAgainstKotlin.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42ee695f7cbc947b8d67061b04fe02de67cb9ef5ea59eabc43524c6d61aba9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) This tests exactly match some others in \u0060AnnotationsTestAgainstKotlin\u0060. We should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-tests/jvm-java-kotlin/src/test/kotlin/com/squareup/wire/AnnotationsTestAgainstJava.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb71088691d0e0ba90e310c5374d2fee4a3dad12382005d276464c4837e30d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move to build flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f947553eba2eb456d83bc2f772b08ddb4f97836b0f43dea975d486b53e58066d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use a NameAllocator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb9e278f08bfd0c2374740e158208779ef2f0ae1bebd0f831094e2225bcb5cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use a NameAllocator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"02305b5cc83a3d16f5c0f0d5165165f92fb27e5c9aa90ddad8ef3dbd68f7d94f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use a NameAllocator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"742850e50a24921ef8e2d4279234cc23110dee0b524a47d06c6504f3d9327f7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use a NameAllocator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ea18bfec0191a01097c5ed803b8a4cd4b472daf4b950a834386e5030fc3cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Move to \u0060commonTest\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jvmTest/kotlin/com/squareup/wire/schema/ProfileLoaderTest.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7817b8deda2c3f87a55420d5b3228ce58bc4956569f3c54ede8f47cdce3d264"}},{"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":"wire-schema/src/jvmTest/kotlin/com/squareup/wire/schema/PrunerTest.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d9ff456666db66491c896a1a304dcaae2abf6820347ed295cfdb3b23a476f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Move this class to commonTest, and test \u0060SchemaLoader\u0060 instead of \u0060CommonSchemaLoader\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jvmTest/kotlin/com/squareup/wire/schema/SchemaLoaderTest.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97d4cbd08e583118f26a3eeb5f5bbda7b2d88f7c5d624506bd9f65d58bd09b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is likely incomplete. Ideally, we could search 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":"wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2140e6dbd00b71ca9c1cbd995a1995e886a4165e67841ca6cd28be0e15c2e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If a qualified name is really appropriate, it should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/jvmMain/kotlin/com/squareup/wire/schema/internal/JvmLanguages.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ae50cbecaf8d32e13de7f547d8938dc50bc3db91609167e64600ca2096cb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) We could pass the target name or something which makes it identifiable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/WireLogger.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4015e9e201a457053a422570e2fbe5644e9c46c77f67ed01166710a1fe88b8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) We could pass the target name or something which makes it identifiable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/WireLogger.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997ae9929128d13491217c917a6f88db1582d87314eaba8e1f6c846666b0bee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): perform this transformation in the Linker. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Field.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c74865a55bd5723384c4ae76a06ce373ea655868b57e775aa056586902f93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Remove this branch once https://github.com/square/okio/pull/1802 is released."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Location.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ba3a4a0def99badc9d626b982d37a1c6d7c28543f80cb07fbebd574716ff7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): simplify this to just resolve field values directly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/MessageType.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9537e5ea02ee3e9bbfd8587dbc532f51bfcab3951644546e24bff9c9e5d78dd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) this property is used to go from \u0060Options\u0060 to \u0060List\u003COptionElement\u003E\u0060 but this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d8771ffedb670c2e3bd6cfd4313662d553b69a65f95686ad6e64cc87b3c964"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(benoit) might be safe to remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cabb31a055cf5d57ebced7b9050902c54ef22dd9b1b14b36acdb732b708546f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge this interface with Loader. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ProfileLoader.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc153140e3a70387b4415d3f057af1203c7abaf12b5629a5801127a0fc460cf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO restrict what\u0027s allowed here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ProtoType.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88c0920a41cdd13d2f519a5434be3dedaf76733af05d17ec5c989d0a4d85e67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): create a dedicated UNLINKED type as a placeholder. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Pruner.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b0e31cab6f3dbdf2caedc8aef9ff0dbb23d72eeb054f33e2a298bd12a1df02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): rework this API to combine baseToRoots and Closer. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Root.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"058748b54edc423122a38bd6b6df17a76a6be9bcbe204fed6910b80102dbb7d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) We\u0027re only ever copying outDirectory, maybe we can remove other fields and rename \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Target.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"78af1430f7c4fbbf78b60421ca439640f712059afa4a90181a97e0d2c4bbcca1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle errors and warnings. Errors could be added to ErrorCollector but need a test. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/WireRun.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd407f521e97be4bd1caf5b47901edb82259408a24e7e1f67c3730aa372094c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Pass the definitions claimed by this 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/WireRun.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2b10a3e8870616084b3d455dbcd612278758dcd184dd528a76884dba863205"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): can extension fields be maps? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/SchemaEncoder.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"df61f0287cf5da0fde7298705072387d37b41a542e7c45395998d40fa786ace2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use optionValueToInt(value) when that\u0027s available in commonMain. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/SchemaEncoder.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8c9d12a8cdf6a4d122964e87c6fd49e922799c98d1e9b67b388d941e530829"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn about this?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/SchemaEncoder.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f78b9b255de39b0a1bb27af734fb6604bbdc77402189b84ee33fd0c8b04da2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO internal and friend for wire-java-generator: https://youtrack.jetbrains.com/issue/KT-34102"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fba89ce3f7a5b5f06550e97d7668cfcd19d184ce0f1db8ba2da990fb34bdf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO internal and friend for wire-java-generator: https://youtrack.jetbrains.com/issue/KT-34102"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd1eb9a03bcf725e7ceb814a96db2880c46789f0e674361efb85835be9c1dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO internal and friend for wire-compiler: https://youtrack.jetbrains.com/issue/KT-34102"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf2e0d9a9f1a2b11c2185a279e1ba5b3def0fc6adb5627ca5c4b027f3a786be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(benoit) Let\u0027s better parse the proto keywords. We are pretty weak when field/constants \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53924872d4ef5255693ad346db73d7597f64f61f83367a04690175c02387df0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add else clause to catch unexpected declarations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2d7912c8efb011436b5dd9c28c9d62792cf56f7427660705f9a17a5a894efd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add else clause to catch unexpected declarations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b677f5660eeabf24cb684bbc838ef9fd6209147f46be3a502c9c23ba2167bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add else clause to catch unexpected declarations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"3815aeefe99d632be22011e3c3d09cfca30c24d33c0b0e8034c1f593db07932b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add else clause to catch unexpected declarations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d9b3ed7244e87b6a5583bad7d0ef5921decb5b8249056c691f873133f16243"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit google.protobuf.Any JSON serialization strategy on both \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/AnyMessage.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"722e98a4b8934f3548f59d6df3ca354dfb1654c9a04f647d7160c7805c3035b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use code points to process each char. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/internal/-Platform.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f117ef269452367cd068fa279d044806837de5a20ceb27288ab5c9153eee24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Doesn\u0027t seem reachable, maybe remove? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"241ca8e80797d564460082abb3f53aa8ec8df03e8cfc388ee1c6b84bc525d3b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Doesn\u0027t seem reachable, maybe remove? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1300891ddf0bfc2ab408e36d23af7b548502b8e213b764c6ed56a4940cc8ad71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a hazard. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/AnyMessage.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f254bfa263f6eebe92c5c51bf91f5634ece4638fac0312effed98b942d4eb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) What if the field is redacted? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/OneOf.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adfe02d366b9bceac75052b10f2bde804f87f6ec9819e6dab1387e23111ba40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(juliaogris): Can we derive dependencies transitively? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-reflector/src/test/kotlin/com/squareup/wire/reflector/GrpcurlProto2InteropTest.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c0f91f14a3f783a4522fefbd0805c18bcf789758941f8f79c44175ac39a9ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(juliaogirs): We should be comparing _all_ filedescriptors, not jsut the first one. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-reflector/src/test/kotlin/com/squareup/wire/reflector/GrpcurlProto3InteropTest.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7302e14765d56ce683efa7d32d38582f202147bcab96697735e7b3111a3e975b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to alternateJsons once we can use ignoringUnknownFields(). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-protoc-compatibility-tests/src/test/java/com/squareup/wire/InteropTest.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca13c499990946c23d9dab4311637b44d5aa3f18da600afeafe38a9260aa387"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Without EnumMode.SEALED_CLASS, Wire fails to print the unknown constant. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-protoc-compatibility-tests/src/test/java/com/squareup/wire/InteropTest.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"711494f84203a088c094d503430b4b707b2f70a8a7c4fe695c01324f3fc26cff"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(egor): Revert back to function reference once KotlinPoet compiled with Kotlin \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262e1f0771a7098913698887f364832fa1ab3c42210038314572f9361f4ddc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Order builder setters in the same order as the fields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dc09c50c1f4221186bb5c44534636e18deb33f891b22c85eabc13c53810a0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) If boxed/sealed oneofs without fields become a problem, we can add \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4168d0bb306d9c724abd8311ea27fe5ce3c633cfdcefaae37fa5b48e1077c24f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(benoit) Fix it so we don\u0027t have to wait. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-tests/src/test/java/com/squareup/wire/GrpcClientTest.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52fb6cce8ecb21279593580c1a687ec1c3067c694349bb723c7a9e4d2bfed55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(oldergod): find a better way to get the GrpcCall objects or a stub GrpcClient. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-mockwebserver/src/main/java/com/squareup/wire/mockwebserver/GrpcDispatcher.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3458bc5ab2dc916fe1075d122830360d1132a48b1e8fab3482e110966599674b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(oldergod): recover gracefully if multiple services define the same endpoint. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-mockwebserver/src/main/java/com/squareup/wire/mockwebserver/GrpcDispatcher.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e16d39aef80d63b00fabf1ec90f77a2bd8f6a191c44cf4abfaee1fb5422e665"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(oldergod): recover gracefully if the parameters don\u0027t decode to the expected types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-mockwebserver/src/main/java/com/squareup/wire/mockwebserver/GrpcDispatcher.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaa4c1e0179824b0252057a5cbbf7fe94e9c374072750e25a1ecc66c3541fe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(oldergod): send a non-0 grpc-status if this throws an exception. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-mockwebserver/src/main/java/com/squareup/wire/mockwebserver/GrpcDispatcher.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ed4c2f9f3b9ef89b601f775d10672b7ddb83425749a863f5363d67fcd95488"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Could we use a better scope here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/GrpcCalls.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0b654b6fac5ea9b428b27aa7daf8c19c112c50096d30a582a59332bbd1c0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fail if the message size is more than MAX_INT \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcMessageSink.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d66eb5d35f8d57b18baa89bf2fb82c17be7f8ea85acfeba2a9584890098b4a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Delete this because it seems unused? I think the DSL only pass down ProtoRootSet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireExtension.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdb52625a2bf55d374c47da11ff942bcbd8f68d29f9707ce65bb525e020850c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) Probably should be checking for other names than \u0060main\u0060. As well, source \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WirePlugin.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a84fb0a356e103ad47262c55267b4b864f5778b1ea6030eb726030aaff269f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Benoit) If another project, on which this one depends, exposes multiple variants, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/internal/projects.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2a7e54dfe35903c7227e5523cab3ae2315d8d1f31a4b39857f82c2c3e303bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): fix modules to treat extension fields as first-class objects. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-compiler/src/test/java/com/squareup/wire/schema/WireRunTest.kt"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"830b0931c594cb1fd83ede2ca960256eebcfb44b4b27f9f90c9b7e654e879747"}},{"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 \u0060wire-runtime-swift/build.gradle.kts\u0060 makes this repository a deployable product (line 41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/build.gradle.kts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"92958b785b24b2ba601cb576a87df2ad1cd9ef54f8c0ccf49f956d6b023a8a34"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 19 project(s) overshoot their size bounds, lowering Project Cohesion to 8.3/10. The most over is \u0060wire-schema\u0060 (10937 LoC, 177 module-visible types across 10 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"1a4cba461b2514b3e62ec5de57bb69080886fd613c18d48f725946482ed72dbb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4be401ae961aa9fb1277f7eb4c9b73eaaacabb11661e655f812ab030a1994d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63971014418d75eef7a8e55f7f272933c4622a893210d5a7fcc7a42b6eb9ba96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0807b07c74cf789e7981854a6b9ffe357fe7225fe4797d883135bd5ab13f4b76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c353637b86879a6dbcfab5c576f5d39ac3abe8cdbf0915c8cc89684902eb3183"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2852c9ff7e53fce947be462fdbde8b96339229779c8d228ca227f94811e58ac7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa88c2b884e214d888cbfc9e1b9d1f5e279468630596d2525e89a458102a3fec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbebc7b6373c9fc91c75037f92d5c51366453ef396fc18a17a1cc64634cd6872"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"520a46a8f201850b13894870977361b17c340d38ee32f9402de17de3f6e87dcc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fda1db56f4c1eb7d3e49ea3c18fe60d3bd1dbe807626501199ba6a7ebcba6a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9603565aa6069e0abcf535dcde33980e7f55a15fa6af1c7abedeeffe7f52bf08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d55ac77297169a58a0e1c3a3d98beeeb8ad0fff394194aa3923d5e039f724f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"471bbad9957f1d6982209d7ff547a88b35ee6b20c2d6d6054fdfbd4ac6e08cd7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7102e2d551249bf73e10b6fab9aaffe64a8cb7b2c9812f11401e7ad150623dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ad8ceffb1c98973af029a963fe328a3ca79b1f8763f2c654e95e3ed771ef971"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ca605efd896147b0b21287badfe669cd34beaaf9cb19cf6207f9ebf760f97a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd0a3404dccd0a070fe4feb6708831003b30eb18e69b0c5c4a375147384eff39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9da445e482aad92005903840419edcdf03d0d51b46c5e58761c8801ee6cbf38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"101907159e3bb7d8afe7fa3e34f7c2a5a9da4668d93ae9cd3e6f1dd4ae43516b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e31915ae4cd850add14593d1bba14cd6b635166de420ff57e3c8336a5a43d518"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","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":"de75b243a37acd475e8b024cb3857089ef9b366fa74f94f44c99bbb16df7ea8e"},"properties":{"dependency":{"package":"body-parser","version":"1.20.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"bd0e2c2c20a3823c2643d4ce3c8a2fd826ced4aff639c8b4af4d796b0c442026"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0779da1210f0c74231540d05b3685f813faa1d0483a312933bb34173af2dc31f"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3de7fdc3e89f12d7337eab2c74dbe4743328a50f69884794e2fd32412c9eee45"},"properties":{"dependency":{"package":"braces","version":"3.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5d5923740a03ae9df779fd48e38d43895e38fbfa9ca95bf1bcc21918754c63f7"},"properties":{"dependency":{"package":"browserslist","version":"4.26.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"43c130f31a15e91cfb73490061504e7af59331d76eae5a0bb0fdfdca3608eec1"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ac7e41d00b9b2568ec0836e1cef5e6fb6e2e61d7f6bd3b6e0910988d6d6ea3b2"},"properties":{"dependency":{"package":"engine.io","version":"6.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ea4b976d7911c95a24e68bfd117685a0ec8a4e2af6424e71ed8252157849a079"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6a2925db8f5e647cbc4e6291c998939513d682a436176c70f5f223836493cdcc"},"properties":{"dependency":{"package":"flatted","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8e708ca4c98dc77df55e85ffe9101e3de1688c3d105f6f213858485f7566ca3e"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"094a5ad27afb3798ffaf2d91ab48f2acfb0f08efb997dafcbbd9600cb15cdf67"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8e3900411fe572f32940f903050782d20f1dd23fd46cafeb96bcf590b91b9d4c"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6cbed9c67694d4e5177efbc378a5d876477f8ea4d1159f6a3984b753a85eef7f"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3a87e50e2fb313b2c048e1870f30fb6b662027adda4bc7678d1b9b8d3f3114ec"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2a9a9eaaf00da8ea142b579f40f04c38d7064a5b6bc93e9ece4367e9dc08cd49"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"10e1e4f82a9508ae69e75968a8fa02c448af5d4192445e9aa3873b32aa01e6f0"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4dafe2fbe5dc278339e4569b5ed0d841efedee0d782adc74996734c7f3439d7f"},"properties":{"dependency":{"package":"socket.io-parser","version":"4.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ed55a2fe556754bb7431fe56572678ed4f0ed671b5777731925b1f10a7b7ff21"},"properties":{"dependency":{"package":"source-map-js","version":"1.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0a3ed700e0787076381641842045f6785701b40d05ebdd09f6e8b43b6a654d36"},"properties":{"dependency":{"package":"tmp","version":"0.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"db33f34063c6ba5e5fc4d831f7fb3385e15a3283ab7f8eec3aa65a51a37fe6b9"},"properties":{"dependency":{"package":"ws","version":"8.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3eae84a3d4c8ffd2864d39cc74509e65598cda2793c18305c17a3b2b795eb9af"},"properties":{"dependency":{"package":"ws","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4bef650a5801f18ac68e6126127c86254fb84a115166c38679cb5718af77924"},"properties":{"dependency":{"package":"ajv","version":"8.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94a73fd36166553097c9e5ae61db3d8f820c0faf47bf622c4aac51af73388ff6"},"properties":{"dependency":{"package":"ajv","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0620f9e5dd773e231711087c45f78731d96a070f97f379863372a1c4c0f1548"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.8.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"398bb9eb9ec218f81c59530f1186c2b2d0cdba687cc9afa13ddeead29b8cd1ef"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3433b75931410049b8e95c0fe84f7856fde82f4af273f75807c6986adc6fe751"},"properties":{"dependency":{"package":"qs","version":"6.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"dfba6026f4a35ac8140729297615b026177a87109196f3022332a39ab6616c87"},"properties":{"dependency":{"package":"cookie","version":"0.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9c8b24b9032d61c6f95823555671ecea49732783a59ed4f22d060ef0aa72eb06"},"properties":{"dependency":{"package":"diff","version":"7.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"bf40b8aa03d380f21c390651ea3f7fcee6cb95b012e2cdf0d83e55b8a55bf324"},"properties":{"dependency":{"package":"webpack","version":"5.101.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/SchemaEncoder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e39093b180af37b1fb4b9511b2db2f7c8827a942fea95475e8384b90c3f5d4"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 35 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/CommonSchemaLoader.kt, wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/GrpcCalls.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoWriter.kt, wire-reflector/src/main/kotlin/com/squareup/wire/reflector/SchemaReflector.kt, wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt, wire-runtime-swift/src/main/swift/Codable/CodingUserInfoKey\u002BWire.swift, wire-runtime-swift/src/main/swift/Codable/Codable\u002BWire.swift, wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt (and 27 more) (36 orphaned of 157 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 157 of the 355 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/CommonSchemaLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3e521dcb7d2fec6361e19cb451272f7700c628ac1575bcb7469976c6a9a962"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/GrpcCalls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1514d3a949af8e52ab4f8c3769bd03b14fdb3c5a3251648559f42ef3c9b38408"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoWriter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb2cdb31147de832d94e1e852f9276b23a2dad9d816bc251587efb3a90e12d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-reflector/src/main/kotlin/com/squareup/wire/reflector/SchemaReflector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3905d85bb2508e8454fb4f7773c6892240be1d7865afe3c69a6e4020714aa652"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab9628febea08c18714bb662fcb1bf05c9461e22fc6fcfdc456cc8253b785a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/CodingUserInfoKey\u002BWire.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d220594e23ffa473899c14c589799d09f14f002000e59f9ccb183fdf284a802"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/Codable\u002BWire.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a04287228e0d03a4730062c173b3fda4f3681c53503e3efd3b9fc84bfaae69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a828f1e5a05b2ddc1d8bb2077411c7418ae0c55a86792f4c0f654be59844b4b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/Message.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fa4b677d4f5b6c0667ceb35b873494c3c7c06d1239bf31ffec4c81615db3e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/StructValue.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"effb2709e83c2c68c0390fc3c1c73e3e48f3108ad9dd506f4f6e10461f66d476"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/SemVer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71595840041bb7119a95d2ff162e17944c4c2b41776013ce9ec42622fb005415"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/ProtoIntCodable\u002BImplementations.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c98829ba1da101065864a591aaf01a5a4efc687be2cbc8dc081cb5d7bd443a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/GrpcStreamingCallExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d700c4384b4782bf1c8524fa4794d733acf796d2176cc32de9aa74e826414a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/ProtoCodable/WriteBuffer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c001eeaea5301ac36df47410228a6098da35f9333513f138fcdde5e22bd55e70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/nonJvmMain/kotlin/com/squareup/wire/Message.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76909482d3b647d2cfee3ddc29e7b01d5803588a3404f5258db849851517859a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/ProfileParser.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea364c206aa0a6b72bea1c7d8da1b5c22df265d046d783174ed6c40effbc5d86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/GrpcClientStreamingCall.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a5aaf85ebcd361af2370bea67454b3fd6f0dce5cc5b9efa510d96f4b88e9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/DagChecker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d59813d8d741952ded10833d56cb5945d410a91d23954e3505c4c25cce2a836"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/StringEncoded\u002BData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"868e3b4a3b8a5911826c6778b0f14dbc3f1d29dabffaadb25c9cc5fa74518f0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/ProtoEnum.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"178e0bf987099693996cfba60066ffa81dde541cfdab943d1587857c1260828f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/GrpcServerStreamingCall.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e711249d782cd19de5962936a043b09aa8e2378ea03faf0d38fea05a3ad3f75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/Duration\u002BCodable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c9bf3151e4b372d7a812ae1af2b6bd3449fd52e1a43f1feaf0768dc5b18700"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcClientStreamingCall.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba28fc2197cf336d022eb5dd416bb2c677f8ff62944ef0d6ce350f1f752725d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/ErrorCollector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"332fb3a20209cc032900fbb97b8776f630b25f21d21c93f8f87d82695140b114"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/MessageElement.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1d363add01dfdb074b139fe251249a88a0ca98130feac12f466c5b8be7010"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Extend.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc089e7369206e5a3f849e3cb55fc5ab57f28af80558c1751a26e2b997b696b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Int\u002BAdditions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d41e56073fff6e0b68a84f877bbf28d53e68381b8365505b0bcc87aae3cc4bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/FieldOrOneOfBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"946aed6514c71381826d1317475d6ca8da452cf91735d22bbe285258b3882ab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/ProtoMap.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"637e0fd0055df46d36bb0579dd6589c4fde9b47dec9c1f77c0be3301b997e901"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/EnumAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bc031928cddfba2761b0ad573e1ca0cf30a4e4c065a6230752afd552acaee0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/propertyWrappers/CopyOnWrite.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d93f84883d810e6ccdd788daaf69ce6072d7ca721c088b2c12128af75008c59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/ProfileFileElement.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c667d0c724e3d086eab62c00f48e4218eec3311e075a42d22a96f35771ede"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/StructMessage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb5329fceeab0681b2c14ef0069ad9681fef70828b86b168c9ecf11c22031ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Codable/ProtoArray.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879d2559abbb06cccc6865668c40384caaaee4f8c697ee4285dbc152fb51cd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime-swift/src/main/swift/Redactable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b17d1f169acbfc268a78ed914ce8372ca6f43e8480f547f605c88543fc43c1e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WireInput.kt \u2194 WirePlugin.kt: \u0060wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt\u0060 and \u0060wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WirePlugin.kt\u0060 change together 60% of the time (15 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060dc6cb175\u0060 Use Gradle lazy properties for WireExtension API; \u0060b319fc53\u0060 Resolve configurations more lazily (#2848); \u00601144387a\u0060 Remove debug code in Wire Gradle plugin \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed73ae42de47d7efddcde09c1811dccfd05832dc1d97422f66672d8f74d7cf9"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: WhiteboardGrpcAction: \u0060WhiteboardGrpcAction\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (clients; e.g. \u0060clients\u0060 in \u0060Whiteboard\u0060 at line 32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/wire-grpc-sample/server/src/main/java/com/squareup/wire/whiteboard/WhiteboardGrpcAction.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"166340f6bdaf1bb645176a2f9a5279a618607c2aba0792b51e59406a21803796"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects wire:wire-schema \u2192 wire:wire-schema-tests \u2192 wire:wire-schema (one cycle inside a mutually-dependent group of 3 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06ab53bf48f900cd058c3a245e9d464fe90285845f653aa8b4930ed0ff055650"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 108 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.gradle.internal\u0060 is marked as implementation by its own namespace, folder or name: \u0060ProjectsKt\u0060 (wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/internal/projects.kt:1, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/internal/projects.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3edaf27bba2670881ed4eae8d34630a6b6c5642c3833b666931a365c0cf28b1"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 35 public types in \u0060com.squareup.wire.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060GrpcDecoderKt\u0060 (wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcDecoder.kt:1, \u0060internal\u0060), \u0060GrpcEncoderKt\u0060 (wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcEncoder.kt:1, \u0060internal\u0060), \u0060UtilKt\u0060 (wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/util.kt:1, \u0060internal\u0060), \u0060RealGrpcClientStreamingCallKt\u0060 (wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcClientStreamingCall.kt:1, \u0060internal\u0060), \u0060RealGrpcServerStreamingCallKt\u0060 (wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/RealGrpcServerStreamingCall.kt:1, \u0060internal\u0060), \u0060GrpcKt\u0060 (wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/grpc.kt:1, \u0060internal\u0060), \u0060PlatformKt\u0060 (wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/platform.kt:1, \u0060internal\u0060), \u0060-PlatformKt\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/-Platform.kt:1, \u0060internal\u0060), and 27 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/GrpcDecoder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bdd9e17ce35334adcef88215fa43b8fb370a28e1642f32024d680ff2aa0b44"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.Platform\u0060 is marked as implementation by its own namespace, folder or name: \u0060commonKt\u0060 (wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/platform.common.kt:1, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-grpc-client/src/commonMain/kotlin/com/squareup/wire/internal/platform.common.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4410ddb4a61a81877e5c3d93fd52d27c2d97bbae403a010edae5df46874b437"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.DoubleArrayList\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt:45, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/DoubleArrayList.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c4a2131b0677607eb0a53919367487dd63b8452e9ca3f75f8ecafe5a6353f"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.FloatArrayList\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/FloatArrayList.kt:45, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/FloatArrayList.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42d89c33d069a3c101d5fdc63e37a1df817db4802f0855303ca92981b0b5898"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.IntArrayList\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/IntArrayList.kt:45, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/IntArrayList.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b836a47a182c85807715f4a6271fceaa3d25d81eafed3a95c67925c01f1c818"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.LongArrayList\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/LongArrayList.kt:45, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/LongArrayList.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"61102f2628bbe48afae90c13cc18485e3ae5788ab2548719cd91a58f247d62df"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.RuntimeMessageAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/RuntimeMessageAdapter.kt:246, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/RuntimeMessageAdapter.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fa41e3e2825e8f952a59fe436b03c1a9e43cddb090fae613c97dae9124f7e8"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.internal.FieldBinding\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt:164, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-runtime/src/jvmMain/kotlin/com/squareup/wire/internal/FieldBinding.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43ed8b083c6e70eded3014cfddc937dc36d3423f9bbd9abce99ca5130dffe1d"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 15 public types in \u0060com.squareup.wire.schema.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060CommonSchemaLoaderKt\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/CommonSchemaLoader.kt:1, \u0060internal\u0060), \u0060DagChecker\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/DagChecker.kt:27, \u0060internal\u0060), \u0060ProfileFileElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/ProfileFileElement.kt:54, \u0060internal\u0060), \u0060ProfileParser\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/ProfileParser.kt:24, \u0060internal\u0060), \u0060SchemaEncoder\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/SchemaEncoder.kt:59, \u0060internal\u0060), \u0060TypeConfigElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeConfigElement.kt:25, \u0060internal\u0060), \u0060TypeMover\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt:33, \u0060internal\u0060), \u0060UtilKt\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/Util.kt:1, \u0060internal\u0060), and 7 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/CommonSchemaLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45deedb4eebccbebcf107569c14da9aa3ee02d59e2234f568893f22c6a767d31"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.schema.internal.TypeMover\u0060 is marked as implementation by its own namespace, folder or name: \u0060Move\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt:229, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/TypeMover.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f9cc4129da94781911e470aca155ce04829f50b96d05687a17fb2a13a79c10"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 17 public types in \u0060com.squareup.wire.schema.internal.parser\u0060 are marked as implementation by their own namespace, folder or name: \u0060EnumConstantElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/EnumConstantElement.kt:22, \u0060internal\u0060), \u0060EnumElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/EnumElement.kt:22, \u0060internal\u0060), \u0060ExtendElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ExtendElement.kt:22, \u0060internal\u0060), \u0060ExtensionsElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ExtensionsElement.kt:23, \u0060internal\u0060), \u0060FieldElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/FieldElement.kt:25, \u0060internal\u0060), \u0060GroupElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/GroupElement.kt:24, \u0060internal\u0060), \u0060MessageElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/MessageElement.kt:22, \u0060internal\u0060), \u0060OneOfElement\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OneOfElement.kt:22, \u0060internal\u0060), and 9 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/EnumConstantElement.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b0cab698ff1bf3f7a42dda7b8ceac302f3964fbd0a5e9f3fd3b1a519a2f450"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060com.squareup.wire.schema.internal.parser.OptionElement\u0060 are marked as implementation by their own namespace, folder or name: \u0060Kind\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:36, \u0060internal\u0060), \u0060OptionPrimitive\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:47, \u0060internal\u0060), \u0060Companion\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:147, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c7cda690db7c266302514fb9a12178b678c53a936aae9d8fb3bf23d95df749"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 7 public types in \u0060com.squareup.wire.schema.internal.parser.OptionElement.Kind\u0060 are marked as implementation by their own namespace, folder or name: \u0060STRING\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:37, \u0060internal\u0060), \u0060BOOLEAN\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:38, \u0060internal\u0060), \u0060NUMBER\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:39, \u0060internal\u0060), \u0060ENUM\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:40, \u0060internal\u0060), \u0060MAP\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:41, \u0060internal\u0060), \u0060LIST\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:42, \u0060internal\u0060), \u0060OPTION\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt:43, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/OptionElement.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da92a6db665aa87efe8bb3952046ab6816b9b612a9e52858b7bf85ac09f8dd5"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.schema.internal.parser.ProtoFileElement\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoFileElement.kt:86, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoFileElement.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dffff103a4230b6a672681fa7d60d5dc79bd28be31bd28756e7e58d2d006ad9"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 6 public types in \u0060com.squareup.wire.schema.internal.parser.ProtoParser.Context\u0060 are marked as implementation by their own namespace, folder or name: \u0060FILE\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:645, \u0060internal\u0060), \u0060MESSAGE\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:646, \u0060internal\u0060), \u0060ENUM\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:647, \u0060internal\u0060), \u0060RPC\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:648, \u0060internal\u0060), \u0060EXTEND\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:649, \u0060internal\u0060), \u0060SERVICE\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:650, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba6a1c1d61b46381929ff81b5fcf008fbdaa12427326238bb56b5ae80c66637"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.wire.schema.internal.parser.ProtoParser\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt:676, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/internal/parser/ProtoParser.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c893caa4513a75e7cac1c5165964431247a19f998e054b97c48402f19b4fa80"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060wire-benchmarks\u0060, \u0060wire-compiler\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060release.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wire-benchmarks/src/jmh/java/com/squareup/wire/benchmarks/AllTypesBenchmark.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b43fd533b30fcb3dc653acfa3a4020c4ae298a0e76ae4c20bd1d3f0c0f3c3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retainedNestedTypes.isEmpty() \u0026\u0026 retainedNestedExtends.isEmpty()\u0060 appears character-identically in 2 files \u2014 wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EnclosingType.kt, wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/MessageType.kt. 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":"wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/EnclosingType.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b88eaf180be2a3ceefca74a9abf229d2c3a5b2e88a9e99e450cd7ba5cdd746"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060singleAdapter == ProtoAdapter.STRUCT_MAP || singleAdapter == ProtoAdapter.STRUCT_LIST || singleAdapter == ProtoAdapter.STRUCT_VALUE || singl\u2026\u0060 appears character-identically in 2 files \u2014 wire-gson-support/src/main/java/com/squareup/wire/MessageTypeAdapter.kt, wire-moshi-adapter/src/main/java/com/squareup/wire/MessageJsonAdapter.kt. 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":"wire-gson-support/src/main/java/com/squareup/wire/MessageTypeAdapter.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bce4d77c812bf0b4aefe2070a1c698a9296d65c798c25252e9c54ccbcb6d63c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != STATE_FIXED32 \u0026\u0026 state != STATE_LENGTH_DELIMITED\u0060 appears character-identically in 2 files \u2014 wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt. 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9584d2ed0b08f3bca3695d4ff9c657a7241564c0ef288f72112a9d9c7df86606"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != STATE_FIXED64 \u0026\u0026 state != STATE_LENGTH_DELIMITED\u0060 appears character-identically in 2 files \u2014 wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt. 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1224690993aa637f85467c4a524fb807fb3915b7c2ece096584cf393cdcf12e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != STATE_VARINT \u0026\u0026 state != STATE_LENGTH_DELIMITED\u0060 appears character-identically in 2 files \u2014 wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt. 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16bbe2c4234ec1485964347df102448c39b8adf8cd76e0127f43748e4ba2b16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state == STATE_TAG || state == STATE_LENGTH_DELIMITED\u0060 appears character-identically in 2 files \u2014 wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt, wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt. 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":"wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d134b5e55f7a9bd648059204cf8fc338f5a34f2d7f720ed599cc7ec742bb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\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":"wire-grpc-client/src/jvmMain/kotlin/com/squareup/wire/internal/platform.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd03f544dfaf41af363a5bed247b7b27f22dda82e16f67017a41865a068044"}},{"ruleId":"X5","level":"note","message":{"text":"Not-null assertions (\u0060!!\u0060) override null safety: ~7.3 \u0060!!\u0060 not-null assertions per 1k Kotlin product lines \u2014 269 across the 36629 line(s) of the 259 Kotlin file(s) read (generated, test and sample code not counted). Densest: wire-kotlin-generator/src/main/java/com/squareup/wire/kotlin/KotlinGenerator.kt (75), wire-swift-generator/src/main/java/com/squareup/wire/swift/SwiftGenerator.kt (23), wire-schema/src/commonMain/kotlin/com/squareup/wire/schema/Options.kt (21). Each one tells the compiler to trust the author about null and becomes a \u0060NullPointerException\u0060 the first time the author is wrong. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ce0e76a36774b1cbb2ede64da71daf948ff69b7883191b635533af629445543"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":56,"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."]}]}