{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"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":"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":"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":"AdapterGenerator.generateFromJsonRegular (cyclomatic 50): AdapterGenerator.generateFromJsonRegular has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/AdapterGenerator.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b5c4313435bf49435e445a8c4771939b10ca1800c93888a8f3b92fc978470"}},{"ruleId":"D1","level":"warning","message":{"text":"-JsonUtf8Reader.doPeek (cyclomatic 40): -JsonUtf8Reader.doPeek has cyclomatic complexity 40 (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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb6547d12b0b14bbcfb65ce13cb4e8a218193e0fc300d6399558986e426c57"}},{"ruleId":"D1","level":"warning","message":{"text":"-JsonUtf8Reader.peekNumber (cyclomatic 33): -JsonUtf8Reader.peekNumber has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a533fec65c225174f0d9f80b3e2da973f4a934a7c0abfe27c144ae07d1781326"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonValueSource.advanceLimit (cyclomatic 25): JsonValueSource.advanceLimit has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/JsonValueSource.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d1bac973f316a9396992b4bbf84726dbd05f3b2d7d977820d7e2c823cfaaf1"}},{"ruleId":"D1","level":"warning","message":{"text":"Iso8601UtilsKt.parseIsoDate (cyclomatic 22): Iso8601UtilsKt.parseIsoDate has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/Iso8601Utils.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fd044851c6367b2f5172a41c44e89f1244022bb6a8877e54913fc18ef1a301"}},{"ruleId":"D1","level":"warning","message":{"text":"Types.equals (cyclomatic 22): Types.equals has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/Types.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f782c4e0d555242bfbf937abde40e83d3bf4b136ef7f3a6dd4e18ef89c8b874"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardJsonAdapters.create (cyclomatic 22): StandardJsonAdapters.create has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/StandardJsonAdapters.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da1c21fd68e87fa4fdfb146151150006d7bdeb7e983288894e036e1f68c2e3"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlintypesKt.asTypeBlock (cyclomatic 20): KotlintypesKt.asTypeBlock 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":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/kotlintypes.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2c543c6bfd666da4974c61aa59c12b0e6feb0a7708747389c44f3b605eb142"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinJsonAdapterFactory.create (cyclomatic 20): KotlinJsonAdapterFactory.create 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":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterFactory.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a5d26ac1c68aecda4ab8efa22e4bbd21785fbf2f18af1375979cb7e183f72"}},{"ruleId":"D1","level":"warning","message":{"text":"UtilKt.resolve (cyclomatic 20): UtilKt.resolve 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":"moshi/src/main/java/com/squareup/moshi/internal/Util.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbcb6cb8c12968416165988986e1e1e0cad7917c9b2fb2c116b8cc4bf5265b1"}},{"ruleId":"D1","level":"warning","message":{"text":"-JsonUtf8Reader.readEscapeCharacter (cyclomatic 19): -JsonUtf8Reader.readEscapeCharacter has cyclomatic complexity 19 (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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9738058f9516a82a289ab93a5f72dbecc46d6870a4a7f468a823ec00557547a"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayJsonAdapter.toJson (cyclomatic 19): ArrayJsonAdapter.toJson has cyclomatic complexity 19 (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":"moshi/src/main/java/com/squareup/moshi/internal/ArrayJsonAdapter.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e4afaefc8263890c85aebadd7a1308273f572ded701ba8ee07e81b9a65b152"}},{"ruleId":"D1","level":"warning","message":{"text":"-JsonUtf8Reader.skipValue (cyclomatic 17): -JsonUtf8Reader.skipValue has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: -JsonUtf8Reader.peek (cyclomatic 19) 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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80286a5ab90c64e5ce3d08a08781bdb90d6a5508fc21ebdebf56f21a248b34d"}},{"ruleId":"D1","level":"warning","message":{"text":"AdapterMethodsFactory.create (cyclomatic 17): AdapterMethodsFactory.create has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"48778758b5a3e890634f7c743050781f80f4eebd36302acc7c2ddf3b1fcf660a"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadedUtilKt.createInvocationHandler (cyclomatic 16): ShadedUtilKt.createInvocationHandler has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/shadedUtil.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec4f18a4deba934f59309149206020063fc1d5d4065a4566bc9b272c7a130e4"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSignatureReader.readType (cyclomatic 16): TypeSignatureReader.readType has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/JvmDescriptors.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"764afcd3d3c07fed0ed8c95fc4784ed6501bb00658f9efb35badf23064fb4dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkedHashTreeMap.rebalance (cyclomatic 16): LinkedHashTreeMap.rebalance 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":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1991eb2cb42a62d3a2102ed8fa0924b6d8c85106129343f230495fd3533159b5"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterGenerator.generateFromJsonRegular (cognitive 96): AdapterGenerator.generateFromJsonRegular has cognitive complexity 96 (threshold 15). Drivers by points: if/else 45 (77 pts), loops 8 (11 pts), boolean chains 8 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/AdapterGenerator.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3a1d592c98d02f2eed6bd4c904b7b99d57a9973f9583e56041279dba29900d"}},{"ruleId":"D2","level":"warning","message":{"text":"UtilKt.resolve (cognitive 48): UtilKt.resolve has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/Util.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"62887e1bc11458f685b1ae65343aec8839a6cd96393754fd5a5d4c5aeb04868a"}},{"ruleId":"D2","level":"warning","message":{"text":"-JsonUtf8Reader.peekNumber (cognitive 45): -JsonUtf8Reader.peekNumber has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (27 pts), match/switch 4 (9 pts), boolean chains 8, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d717fec8631bd56d49f7a23caf403b4e8dd5d03e8be864dda4b53455b3f6a734"}},{"ruleId":"D2","level":"warning","message":{"text":"-JsonUtf8Reader.doPeek (cognitive 43): -JsonUtf8Reader.doPeek has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (27 pts), match/switch 8 (15 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a280caf171c8c038a6eddb3052e96fdb492770b8424b358554c476eee29275"}},{"ruleId":"D2","level":"warning","message":{"text":"Iso8601UtilsKt.parseIsoDate (cognitive 40): Iso8601UtilsKt.parseIsoDate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 4, error handling 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":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/Iso8601Utils.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aa7c2a6808117e089c78f3cf16ac3bab396e6d24b2a73904fde218cad5ac05"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValueSource.advanceLimit (cognitive 39): JsonValueSource.advanceLimit has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/JsonValueSource.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fea37677b184e94f8ee61a6dbe70ce6f02040b942218c53d5a5f8ba44603013"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.equals (cognitive 30): Types.equals has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 5, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/Types.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f9c2dae98cb8fa3213f98f57a2e25e6786fc6808249cc5e16ca85d9d5d4ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterMethodsFactory.create (cognitive 27): AdapterMethodsFactory.create has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (6 pts), boolean chains 4, match/switch 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":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb48c8e35e57b36d10e397cb9f18e8824b0465bbb83622623cb5e952e245c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkedHashTreeMap.rebalance (cognitive 27): LinkedHashTreeMap.rebalance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"457fc9e2667c4963c596a2f53d188b4f1bea58d7d476087a207f4f0f733c080e"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsonAdapterFactory.create (cognitive 23): KotlinJsonAdapterFactory.create has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, loops 3, error handling 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":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterFactory.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbae2849f5b49c52725b7b92ef9f58d71f4cfdb45c3ad38c0f8fbc562617a149"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkedHashTreeMap.find (cognitive 23): LinkedHashTreeMap.find has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 1 (2 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":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7691597da990a543ac04d547052859d9e7c16eed6785404e76c3b9507d963b70"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardJsonAdapters.create (cognitive 22): StandardJsonAdapters.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. 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":"moshi/src/main/java/com/squareup/moshi/internal/StandardJsonAdapters.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"67325d28ec96d0fd332391fbb935dc6b843f91b1aff741504de998433e6670db"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeRenderer.render (cognitive 20): TypeRenderer.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/TypeRenderer.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2c1f6cbbda6263e3635559b4899ab37c521edcedc434d0069718ee9722181f"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadedUtilKt.createInvocationHandler (cognitive 20): ShadedUtilKt.createInvocationHandler has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/shadedUtil.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"447977d320fc1033d0549391fe8cdfb1a102baced903029ffee4bb5bf49b6a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinReflectTypesKt.computeJavaType (cognitive 20): KotlinReflectTypesKt.computeJavaType has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (4 pts) (nesting depth added 10). 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":"moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c5a9f9a4e12098516897493be14b217cbe4f6cefea1c9a63095f97529c4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsonAdapter.fromJson (cognitive 19): KotlinJsonAdapter.fromJson has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3, 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":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterFactory.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"02021716d6ac823213491176a292d8690c2f3be01d5e4df23155fda1f3ba7ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayJsonAdapter.toJson (cognitive 19): ArrayJsonAdapter.toJson has cognitive complexity 19 (threshold 15). Drivers by points: loops 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/ArrayJsonAdapter.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1138aa182e09af813208b37fdb06b10705dd74a1bf9eaaff17867b3a20073e"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkedHashTreeMapKt.doubleCapacity (cognitive 19): LinkedHashTreeMapKt.doubleCapacity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dd75698aa2247af04e4363e9d902d4c95afc21216e81e1f130b0c0ed7223a6"}},{"ruleId":"D2","level":"warning","message":{"text":"-JsonUtf8Reader.nextNonWhitespace (cognitive 18): -JsonUtf8Reader.nextNonWhitespace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4d903c6bc29678ffe6b1e3df195c167df8389f2ff66a3d3da4d3513232ae0a"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlintypesKt.asTypeBlock (cognitive 17): KotlintypesKt.asTypeBlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/kotlintypes.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c380e75c4cfd260e201e4889b4d68184bfb897efef70e9f2e77a75a19ce57e9"}},{"ruleId":"D2","level":"warning","message":{"text":"UtilKt.generatedAdapter (cognitive 17): UtilKt.generatedAdapter has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7 (9 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/Util.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"03432eb89998f64009e1a7a153624a3a7b991a5a37bba143de44f6caf83785ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: moshi/-JsonUtf8Reader.kt: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"546542f2a4e4db56bea3d228a5633780ba3cbbd6dc667d34b2a6c3f2bc91a4b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: -JsonUtf8Reader: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ead941c7517c8937d1badac0640e30c6e0c7205c7682f4fb66a401d1ce5fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: -JsonUtf8Reader.doPeek: MethodTooLong \u2014 doPeek runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f66e438043976ba5516150ca8343afba4aaff7697c2b85793583190507d922"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KotlinJsonAdapterFactory.create: MethodTooLong \u2014 create runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterFactory.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d0db21d87a269bc641842b5a7a87d4243f38de32cd019f4d0b3502a8226b07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Iso8601UtilsKt.parseIsoDate: MethodTooLong \u2014 parseIsoDate runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/Iso8601Utils.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c004570acdc9f06430e59aebaf97f367275a0464dd68e5ce24a5d58366da61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt:138-221 | moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt:237-316 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2426f6899ea4914112e2f33cae229b4e43bf45fb602880847b15ed05822f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:427-448 | moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:451-472 \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":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48e140ebc11d7b33f8b924f137e0e719a92bb2b2d937a50769a747137fe867b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt:567-594 | moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt:660-682 \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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e688eaccc0244432bc955fc333a068461b50bf38311cb315b58e02b4edfe072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt:239-259 | moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt:261-281 \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":"moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72000365593559133b915e2bf6cc357a69bc50442323aa73b151d6df54d0d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): moshi/src/main/java/com/squareup/moshi/JsonAdapter.kt:133-153 | moshi/src/main/java/com/squareup/moshi/JsonAdapter.kt:201-229 | moshi/src/main/java/com/squareup/moshi/JsonAdapter.kt:270-292 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/JsonAdapter.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8499de1e10f5ee85386b2739d2038bf1dd087dcd8dcc5666bd06de30830fc4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt:332-343 | moshi/src/main/java/com/squareup/moshi/JsonWriter.kt:219-231 \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":"moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd189416d2d8aea1c61338b0f80b5f3a786a988db2eb8b78ad050cf09e473d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): moshi/src/main/java/com/squareup/moshi/-MoshiKotlinExtensions.kt:42-54 | moshi/src/main/java/com/squareup/moshi/Moshi.kt:107-119 \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":"moshi/src/main/java/com/squareup/moshi/-MoshiKotlinExtensions.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d19e1d3664b79f05f2fd5cc63261edd27be457399ef9b7017c2027c412ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt:62-73 | moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt:83-93 \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":"moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a104ef22687ec6923304d163a0bbe4a9e3bf530f8c1130a627cf5d3ccb4e178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt:367-377 | moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt:380-391 \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":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"606961dab0e780a129d0d108916593a6a51ecbe2b5159da25da03f418f2b5a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt:73-79 | moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt:84-90 \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":"moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea1a8c0f75495a5dc86abd8750c1eeef0c3fa16d6cb9e7097cd0d0abba9299f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): moshi/src/main/java/com/squareup/moshi/-JsonUtf8Writer.kt:263-270 | moshi/src/main/java/com/squareup/moshi/-JsonValueWriter.kt:229-235 \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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Writer.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2b8435176de200a374b907fb9ebb5f304490f435a0ed61260dcb7899323f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): moshi/src/main/java/com/squareup/moshi/JsonReader.kt:528-532 | moshi/src/main/java/com/squareup/moshi/JsonWriter.kt:508-512 \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":"moshi/src/main/java/com/squareup/moshi/JsonReader.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a897f8da08295acb41ce114aa325dee07b3b6e772f184483b60044fb5bb33323"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/src/main/java/com/squareup/moshi/recipes/CustomAdapterWithDelegate.java:27-36 | examples/src/main/java/com/squareup/moshi/recipes/MultipleFormats.java:33-48 \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":"examples/src/main/java/com/squareup/moshi/recipes/CustomAdapterWithDelegate.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5a16a078d168bac4d14fabb433d230e11d3578dbab989e4047e1cfdde3c5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): examples/src/main/java/com/squareup/moshi/recipes/CustomQualifier.java:28-42 | examples/src/main/java/com/squareup/moshi/recipes/CustomTypeAdapter.java:23-39 | examples/src/main/java/com/squareup/moshi/recipes/FromJsonWithoutStrings.java:24-42 | examples/src/main/java/com/squareup/moshi/recipes/Unwrap.java:38-51 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/com/squareup/moshi/recipes/CustomQualifier.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25b49444eda56fd10c9d1462acba1ac9e218007e7616f37384147a6eddd27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/src/main/java/com/squareup/moshi/recipes/CardAdapter.java:32-47 | examples/src/main/java/com/squareup/moshi/recipes/MultipleFormats.java:82-97 \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. 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":"examples/src/main/java/com/squareup/moshi/recipes/CardAdapter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2b7adebb557cc583269b753a6aab23cd1997d8a3d9964837c18da6e0b0025c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :moshi: :moshi: abstractness 0.16, instability 0.00, distance 0.84 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f129574ace026d590604afba1da087de0d53f0bdaaa1da45144ca274c69764bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO would be nice if we could pass the parameter node 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":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/JsonClassSymbolProcessorProvider.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1886f9c12b75a634bc0f467e8275f624c07c27f1abf147509315bd8a970a40d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make this configurable. Right now it just matches the source model \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/AdapterGenerator.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a84686e7ac644754a45b00c0c7bd8cf21f5f57ce6b60e4cd9906bff874ecf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Would be nice if KotlinPoet modeled these easier. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/kotlintypes.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c790248ef08ff232e16f50228b2488addb048d3dba96d6e75a533eef827417cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): fix precision checks and delete his method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/JsonCodecFactory.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9254c62ceba401d525cde9b6496c52d97f8db14602fdec745e399610986a6535"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): fix precision checks and delete his method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/JsonCodecFactory.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c993659f3a64dc036dff1b0dd68275a907505c3d9c320043d978636921d65abd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): support BigDecimal and BigInteger and delete his method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/JsonCodecFactory.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9994f25422630cd8858d543735582e6a828248aff3ba9fd3ec9c2e30edc7fdf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): support BigDecimal and BigInteger and delete his method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/JsonCodecFactory.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaecda4aea5c00451cc468307d1b19b3b584493138f144548e97ccb81e14015"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO currently UTF-8 fails eagerly on valueSink() but value does not fail until close()."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/JsonWriterTest.java"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e42f02b2792234ade5ec4ed03b870daa63bd6b7675b396e0387910153efee3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make JsonWriter.REPLACEMENT_CHARS visible for testing? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/MoshiTest.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f87e6abb0cca5293bbaef3ea5b7edbaa11b7da96ce3ac498b96595a0aea967c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not handled properly; do we need to? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/test/java/com/squareup/moshi/MoshiTest.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5980ed7fceae056b7001b332343e1c473e404c2a84661f8243c4209975cd6b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: JvmSuppressWildcards \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"084b51757b62d3b96ae1ae5842cffc6f6f7187ec4cff44914764b8451c912628"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: declaration-site variance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d41f23173d1ac2b1f37d15330df265f149e6578d468c291e3fe565acba8f02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sizing/resizing policies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"21930ea32726004746670f737c9bada2bb35f2a16c2460fe9ba87d3fbe7f566c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: don\u0027t do anything if we\u0027re already at MAX_CAPACITY \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"379edfeb5129b1858e2b2ad8d8d6db110322a439c353e14a25ca6324f1b814e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jwilson): include the owner type if it\u0027s non-null. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/Util.kt"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"de84078aeb46d5cc7428976515830e0429e86071fde8abbfa4d0237bd806a3d1"}},{"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":"1542ac657294a7960a3ca68607ef7a17d9ed3d2457fb06dcd777067445c6a3cf"},"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":"8bab30bfa518829199ac30a51d228ff31fc51c7eb6a052fbe9d706140404f500"},"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":"c680668589434b2f3b59aaaeefaf22002e61d83f1901f72bceb1987926fe09e4"},"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":"3bfe1342b2b2ff7ec30198c5be7e878786f57df0b5165ac1d200ed7af2efb121"},"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":"71d15693d150ce24360af9e7e6822c762aefbd49ac1dbda3add784f14a033bab"},"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":"15ce6a883c70e22a68396ec3d3be1dcdc908bb35bd70cd032d2965fc1abd0e7b"},"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":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"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":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"735fb6ff0d878a3d316b3380178aac2b5b111a760b91e73c0f57ecc858dcb49e"},"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":"e8e18d2a8f20376724197f4821264a0a9f0e273d56749195409cdb6066877285"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 34 of 47 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 34 separate risks. Counted over 47 of the 79 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/JsonReader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fb8495c8681bf1098864b81751203d4dc8a08effe5a50e6e34a72c4af086f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/JsonWriter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61429c648a4468179703f481078448eca01ec94e1828d2e56227f687b78b0d8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"982b3db180cbf65f65a492c71b730fc6f5a6ab6e5dd0861b892e045de42e6f25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806da3f34d77c6a0f0f0bef29e80ce42e1da07f56082b22e85cf7f9e778e6b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-JsonValueReader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebbf536c581b7ac7c90078141d55f765e3402e753c2b9a03702ecea5dabe5c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/Types.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf901707f1e22bed74a26fb2cb504482f6020b9ce7e3e54efc0a9491dba846"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/shadedUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d32cd4729a11dfb36db1f607ec4b337f6d84bad46a91870ef5cd3ddc3bb1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/JsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e443b5c7073b1c41712ba39ffb1257fd183dbdf7ea1fb6cd59411f6cc60960a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/Iso8601Utils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb8d2b9914e0bc384f487cc3745160de56442b104e2425477fbcc5f1114d746"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/PolymorphicJsonAdapterFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae573038a3fee1de98759a1d1093d9fedcdd71c0a075b6e7ae9eed890608804b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/kotlintypes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7bcce1b0de7cffb26e687820289a2fad4eda79eebf5d107351578d8ba0846c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/ClassJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a766d262962347b7481fa6484c4e434a86f3aa28ff8bf4d9a03f0e09233503"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/JsonClassSymbolProcessorProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdba81062af19b84227c96073d5d40ee08a03885340eb0032e547157ea7bc1ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/JsonValueSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e94dbb12f124095df884505b9e6632632d186d387d5f2129a08ff6be53ab159"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/KtTypes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9e04be06b378a61ef4d9f6359e012973a9a8c7a70b87370a21ca0455165c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java16/com/squareup/moshi/internal/RecordJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b2138975db433a4ec990b1fc4f6400ccf07267bfed8ced0cdc744a3e4882d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/KspUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b28adbc310c667baf37a696ca9fc8cbf78d10d46e5483a08fd399b26134ee33"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/ClassFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052ba532bfd14d26b7c586f2f62ed3c4319471f17b2391e07a73ee7a622edcd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190e7d232f8472102a8462c4928c7f4942122cac06af808a18f8312c8526209"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/TypeRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b20227fa5c4c69f2aedd75c4df9cd3f93ee131861d48bdfe70d8f5db9e0346"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/DelegateKey.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8254718cc97ead025e58aa514505ce4f172c46b2036bbc89a08f86af495be64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-adapters/src/main/java/com/squareup/moshi/adapters/EnumJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614d125f2d073a07054b47c0801cb3ce7bb3712423bd9a07ebff24156fba57db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/JsonClass.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bc9dcc7cf4f4c7f3dbf8f4e413152aee46c13ade863d5a94c8b877baf9efb9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/ArrayJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5243ec8c8fc04c9bd75043a45053705ddcd98028673537ff4b7125e4c1802"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/MoshiApiUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3016faa39aeb2008c83c044a2d76c0748a5d2332b237fd65c7f7d8a32ec75c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/-MoshiKotlinTypesExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d8bab3b27944d7b20c059b3106031ab40a45ddecda40edabdececf32d94450"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fe5809cb2517194ac6d78342689bff49d8857798c5160066434885caf0b526"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/PropertyGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cf04fe5e8af384077e5d1ae4b377121dda545c0b00d69561a0879bf65a36d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/JsonScope.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb56085109fdae55812e92b9a94e16924a879bc82ec79e70088179e51c7bf8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/MapJsonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0680c3878d61b55bdea5bf4f439b593751941c081e1b766da6347cf73950e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin/src/main/java/com/squareup/moshi/kotlin/reflect/Invokable.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990cc132a16d1d4437b9cc6a78500d0e2b0a292d1af0bf51de564dd8feab20cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/japicmp/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee93855899953f6ac725c07166553121d79c95996192e5d2cf30570c9733a270"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/api/typeAliasUnwrapping.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5adc1bc760a183ab2213ddf1e1c758bd2a45eb391217dcb5851984e963f31f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi-kotlin-codegen/src/main/java/com/squareup/moshi/kotlin/codegen/ksp/AppliedType.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcba683b401dfdc64dd2a53def4d4030406aad27092c0e77aa1d82b83f56092"}},{"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":"171a5915161e926e35d9f9302156f7a2c57d16c96d5bdd1af3f21e2d4308269b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65d87ec21c1ecf43a0424ab644272e64330044f506a9f75bd32965b5f8696841"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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.moshi.internal.AdapterMethodsFactory\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt:100, \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":"moshi/src/main/java/com/squareup/moshi/internal/AdapterMethodsFactory.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca61d78fb6ecc73c4e5967a821b2655ebdd143230cde0d34e58b43fb4e568f16"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.ArrayJsonAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Factory\u0060 (moshi/src/main/java/com/squareup/moshi/internal/ArrayJsonAdapter.kt:109, \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":"moshi/src/main/java/com/squareup/moshi/internal/ArrayJsonAdapter.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7d14f7a16ee6c895ef4a7ca646bef5508da9cfa3e5b232d8c47e2f8a210e8c"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.ClassFactory\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (moshi/src/main/java/com/squareup/moshi/internal/ClassFactory.kt:32, \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":"moshi/src/main/java/com/squareup/moshi/internal/ClassFactory.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432b9c6879bc2b18375cbb63efb5fea961f94fda43cd479dd4b87120cdf34c7"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.ClassJsonAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Factory\u0060 (moshi/src/main/java/com/squareup/moshi/internal/ClassJsonAdapter.kt:114, \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":"moshi/src/main/java/com/squareup/moshi/internal/ClassJsonAdapter.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2802985e22b0b0b83b2ea716e86ef075018f41b079ba568fe4b6165682a08d9"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.CollectionJsonAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Factory\u0060 (moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt:53, \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":"moshi/src/main/java/com/squareup/moshi/internal/CollectionJsonAdapter.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ea870925b52723894994b94cda93882bf4dfb76b1f298284c399f36c5685f"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.JsonValueSource\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (moshi/src/main/java/com/squareup/moshi/internal/JsonValueSource.kt:215, \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":"moshi/src/main/java/com/squareup/moshi/internal/JsonValueSource.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b10cd417b1c412af248cbf7cec88bea7f143adae14c2c72ec3d76c725c520d3"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 5 public types in \u0060com.squareup.moshi.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060KotlinReflectTypesKt\u0060 (moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt:1, \u0060internal\u0060), \u0060LinkedHashTreeMapKt\u0060 (moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:1, \u0060internal\u0060), \u0060NonNullJsonAdapter\u0060 (moshi/src/main/java/com/squareup/moshi/internal/NonNullJsonAdapter.kt:23, \u0060internal\u0060), \u0060NullSafeJsonAdapter\u0060 (moshi/src/main/java/com/squareup/moshi/internal/NullSafeJsonAdapter.kt:22, \u0060internal\u0060), \u0060UtilKt\u0060 (moshi/src/main/java/com/squareup/moshi/internal/Util.kt:1, \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":"moshi/src/main/java/com/squareup/moshi/internal/KotlinReflectTypes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8078398941fe5c472ca3b9740f822c2b9729096a59bd92ebf0d04f2f52625"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060com.squareup.moshi.internal.LinkedHashTreeMap\u0060 are marked as implementation by their own namespace, folder or name: \u0060Node\u0060 (moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:67, \u0060internal\u0060), \u0060LinkedTreeMapIterator\u0060 (moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:474, \u0060internal\u0060), \u0060EntrySet\u0060 (moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:500, \u0060internal\u0060), \u0060KeySet\u0060 (moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt:535, \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":"moshi/src/main/java/com/squareup/moshi/internal/LinkedHashTreeMap.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f862462aecb3eca44a03a25216babe87c2fcb641e3283e720cb8c90dfbba0"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060com.squareup.moshi.internal.MapJsonAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Factory\u0060 (moshi/src/main/java/com/squareup/moshi/internal/MapJsonAdapter.kt:72, \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":"moshi/src/main/java/com/squareup/moshi/internal/MapJsonAdapter.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e728b69c465159cfab8c7dff54aeb6184e49bfaf579b76f194d41996d9510c82"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060com.squareup.moshi.internal.RecordJsonAdapter\u0060 are marked as implementation by their own namespace, folder or name: \u0060Factory\u0060 (moshi/src/main/java/com/squareup/moshi/internal/RecordJsonAdapter.kt:33, \u0060internal\u0060), \u0060ComponentBinding\u0060 (moshi/src/main/java16/com/squareup/moshi/internal/RecordJsonAdapter.kt:42, \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":"moshi/src/main/java/com/squareup/moshi/internal/RecordJsonAdapter.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb97960ed56b5dd5bf93cf97f3d10547e1b2e92d4001d9c2d64372180a630f2"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lenient \u0026\u0026 (result.isNaN() || result.isInfinite())\u0060 appears character-identically in 2 files \u2014 moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt, moshi/src/main/java/com/squareup/moshi/-JsonValueReader.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":"moshi/src/main/java/com/squareup/moshi/-JsonUtf8Reader.kt"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc52a2f1bade0759833dac490db6d22ccee013fee1b0c6cf3241eff4cf27a17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"moshi/src/main/java/com/squareup/moshi/internal/ClassFactory.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b5a2be4bc5bf38e1ae47c51352838396f6495f196c4074960f0635d2099b3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":16,"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."]}]}