{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"MapHelper.deserialize (cyclomatic 34): MapHelper.deserialize has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1268432023d798aaeed025ee7c6c62ed181b3528cb268cdd2c69b3b6dbf3945"}},{"ruleId":"D1","level":"warning","message":{"text":"EnumHelper.deserialize (cyclomatic 18): EnumHelper.deserialize has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/enum_helper.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"28255ec3a86cd1701b1bbfdb11caee7d787e526aa78de8046d7edf183f519b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"MapHelper.deserialize (cognitive 49): MapHelper.deserialize has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 16, ternaries 5 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"022365b74d4341f4ad5d7c9560a215d77b7e42d39cb0e299ca5991e6a99c1529"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeHelper._deserializeForField (cognitive 27): DecodeHelper._deserializeForField has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/decode_helper.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32de9dffe83fa1812c2f690d1a13d8ef9fac57dc5bfa9f006ad3980d867231f"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeHelper.createFactory (cognitive 26): DecodeHelper.createFactory has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 2 (5 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/decode_helper.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6339020fa1974e22c9233ee88bac3fa36c975714a197744058b95eb527ad5ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumHelper.deserialize (cognitive 24): EnumHelper.deserialize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 3 (5 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":"json_serializable/lib/src/type_helpers/enum_helper.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c1b243869e8f1311f59283a01da443e7c22badbd24c9b7207a1a683a31f29"}},{"ruleId":"D2","level":"warning","message":{"text":"IterableHelper.deserialize (cognitive 18): IterableHelper.deserialize has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5, boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/iterable_helper.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee18a2fb0556de6adab98a32aaf679dd28aae6e0eb5c916ac73a0b9d354a76d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DecodeHelper.createFactory: MethodTooLong \u2014 createFactory runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"json_serializable/lib/src/decode_helper.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"031e010a9ac795d0715fae237974de5b24841e0f3c28031486940cce37f49183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): json_serializable/lib/src/type_helpers/json_converter_helper.dart:26-63 | json_serializable/lib/src/type_helpers/json_converter_helper.dart:65-111 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"json_serializable/lib/src/type_helpers/json_converter_helper.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faa19e44756a4db5030b22cc11424e90eeecd62dfc79ad663da1b2421edee0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): json_serializable/lib/src/type_helpers/generic_factory_helper.dart:15-33 | json_serializable/lib/src/type_helpers/generic_factory_helper.dart:35-57 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/generic_factory_helper.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fa4caf058eca6ecfeb68755120ada2132a1e6ebc738e9a8274e0a5e437e1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): json_serializable/lib/src/default_container.dart:24-26 | json_serializable/lib/src/lambda_result.dart:39-41 | json_serializable/lib/src/utils.dart:341-343 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"json_serializable/lib/src/default_container.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e3140b0464ee0bdfd41af2310d36b9327cfa00b91f6e1348cf21fac1dffebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): json_serializable/lib/src/encoder_helper.dart:47-59 | json_serializable/lib/src/encoder_helper.dart:136-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060json_serializable/lib/src/encoder_helper.dart:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/encoder_helper.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"53df465112c940c443907ccfc54292722676a193d75b115388b157120f1773de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): json_serializable/lib/src/type_helpers/map_helper.dart:71-82 | json_serializable/lib/src/type_helpers/map_helper.dart:210-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060json_serializable/lib/src/type_helpers/map_helper.dart:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5a5926c9ddd37fa78103af8c78d57c09cd292d331d4a441085ed38031ff40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): json_serializable/lib/src/type_helpers/big_int_helper.dart:16-22 | json_serializable/lib/src/type_helpers/uri_helper.dart:16-21 \u2014 before extracting anything, compare \u0060json_serializable/lib/src/type_helpers/big_int_helper.dart\u0060 and \u0060json_serializable/lib/src/type_helpers/uri_helper.dart\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/big_int_helper.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d01ff607a5ddbbbd9fd680b800b10d82923ce0d86b04a1e2895886b91d432f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): json_serializable/lib/src/type_helpers/big_int_helper.dart:24-35 | json_serializable/lib/src/type_helpers/date_time_helper.dart:27-38 | json_serializable/lib/src/type_helpers/uri_helper.dart:23-34 \u2014 before extracting anything, compare \u0060json_serializable/lib/src/type_helpers/big_int_helper.dart\u0060 and \u0060json_serializable/lib/src/type_helpers/date_time_helper.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/big_int_helper.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50789ccb64b60fec6b560fff6058017626abb9330881ec3e8aa8fdbf91ab08f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: json_annotation: json_annotation: abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fcea84677acf825567cb64b9b6859a095fdb93d37c18ba0e4e7168cafb358720"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CastExpression (LCOM4 21): _CastExpression\u0027s methods fall into 21 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 21 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/utils.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"efddf8dd0649dcc79175da15270d104eba01012e06d8a83354813b4c2a614aa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: json_serializable/lib/src/type_helpers/map_helper.dart: json_serializable/lib/src/type_helpers/map_helper.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in MapHelper.deserialize at line 84. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:59:36 \u002B00:00\u0027 --until=\u00272026-11-09 21:59:36 \u002B00:00\u0027 --full-history --no-merges -- json_serializable/lib/src/type_helpers/map_helper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc2827df9467e18afd36bfce09eaf9d388c2a6cbb21e4d835819b071229f7ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: json_serializable/lib/src/type_helpers/enum_helper.dart: json_serializable/lib/src/type_helpers/enum_helper.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EnumHelper.deserialize at line 46. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:59:36 \u002B00:00\u0027 --until=\u00272026-11-09 21:59:36 \u002B00:00\u0027 --full-history --no-merges -- json_serializable/lib/src/type_helpers/enum_helper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/enum_helper.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e059b4c6bbabe0ac4a8676b327364723cd53f10651a3d67d0cdc18957c93d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: json_serializable/lib/src/decode_helper.dart: json_serializable/lib/src/decode_helper.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is DecodeHelper.createFactory at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: allow multiple fromJson fields to read the same JSON key (#1623)\u201D; \u201Cchore: prepare 6.15.1 to fix compilation against source_helper 1.4.0 (#1618)\u201D; \u201CFix field inheritance narrowing, setter overrides, and config guards (#1610)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:59:36 \u002B00:00\u0027 --until=\u00272026-11-09 21:59:36 \u002B00:00\u0027 --full-history --no-merges -- json_serializable/lib/src/decode_helper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/decode_helper.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"914312d7bb2b2ff8dd89bc81e77e59201f257a5eba3622ee4071a9ac6412cd29"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: json_serializable/lib/src/schema_helper.dart: json_serializable/lib/src/schema_helper.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is SchemaHelper.createJsonSchema at line 23), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cchore: prepare 6.15.1 to fix compilation against source_helper 1.4.0 (#1618)\u201D; \u201CFix field inheritance narrowing, setter overrides, and config guards (#1610)\u201D; \u201CFix createJsonSchema default values, nullable self-refs, and privacy (#1608)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:59:36 \u002B00:00\u0027 --until=\u00272026-11-09 21:59:36 \u002B00:00\u0027 --full-history --no-merges -- json_serializable/lib/src/schema_helper.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/schema_helper.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad81e4e4d7c97b618c72e4427406465d5d3d2e282bd860396d437063730cb7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: json_serializable/lib/src/json_key_utils.dart: json_serializable/lib/src/json_key_utils.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is _DirectChildCollector.visitNode at line 602), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: format Record constructor defaults from constantInitializer AST (#1628)\u201D; \u201Cchore: prepare 6.15.1 to fix compilation against source_helper 1.4.0 (#1618)\u201D; \u201CFix Record decoding, $1 comma emission, and JsonKey default literals (#1609)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:59:36 \u002B00:00\u0027 --until=\u00272026-11-09 21:59:36 \u002B00:00\u0027 --full-history --no-merges -- json_serializable/lib/src/json_key_utils.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/json_key_utils.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f933ddfef09380a98e32ba8d6402e43f7c63f5fb8fadf25a05e6a20aa9785"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this and return link to lib/src/constants.dart once this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/test/src/constants_copy.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fe57da1a05275fbf5bc8d4280fb76b0e174b46a147adf4188cc223cd357a4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: finish this... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/test/kitchen_sink/kitchen_sink_interface.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd49f5e826ca48d4cb26d52d46939b74c90eed3d3968d853c0f08b5b270af35a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use this once https://github.com/dart-lang/sdk/issues/54543 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/test/integration/json_keys_example.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f39dc1bd9bcb3626126f74b90ab516f7adbdeb924443a3d54b66fd941e1c486"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this annotation is a no-op. Need to figure out what to do about it! \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":"json_serializable/test/generic_files/generic_class.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4476e1bbcc2d410867bfc266fdeadbcce5c5942d7ec7346a9baf9d1789a2c2ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this annotation is a no-op. Need to figure out what to do about it! \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":"json_serializable/test/generic_files/generic_class.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d37e5b3f624465090fb68a0aaed6e2ff731e1fa076db2c95fe2c3c5c0127520"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this annotation is a no-op. Need to figure out what to do about it! \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":"json_serializable/test/generic_files/generic_class.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a45d0ea5c5b421e0c13a4d6ddff8f20c2333b881f4acb7833e7b1ccc591e9cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/2524 - trailing"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/decode_helper.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf22f5372cb9321166daa34c380176febf0b5519ceaaacad4dc15214ffd18d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use code_builder once it supports null-aware map entries \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":"json_serializable/lib/src/encoder_helper.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00a3613dd9a6e95101ef032edd71af3cb73bea3ca0a6b0f2d05012605be09aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fieldRename is pointless here!!! At least log a warning! \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":"json_serializable/lib/src/enum_utils.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47c153d1149c3f9f84530abbaab0cf3b6062050491520e34d96b20c7e4a47d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could be a LOT more careful here, checking the return type \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":"json_serializable/lib/src/json_key_utils.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd958bda4916e610e83550d8139523bde4e15591a6fdf2db713dcd3595efc468"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/lambda_result.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad0b3568545c330e0f4f5e5b71524c9af0368330fd612a583ab49a553932a9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/lambda_result.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4fdb966135609fd4a20c6a9df7125adcf3b0047fb8f1228ebea5044a02cc05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/lambda_result.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"949d84d17c1b43c2dec646276ee465e3e4db5cbe2b17efa2d8b21ba37bf79713"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/utils.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106febf5d9e3e18c6b8bf84dc0cdbfd30ba6067a8cf203030d406276e91f5bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/utils.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb515bfb9e91d76479da3eb0efdcc5a3e97f0200b792095fd71e30585dbbd4ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/iterable_helper.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ea6f422a0797d389855a097c2a7b03407490a36b65f501799108a19dd3fcca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1d853266a88b901064d649a711a8be82053bdf26ffc497855ca2c45ff32a6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bef55bc65081a4e7bfc017845dea6b0e0cceddfe9f44355fae3592ac82eddd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c7ecf656523243a020796fce466f08713030d229f25df8c30e1f3c9f56be5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b965f970399e60668957738201b701cc8da32f2523265c0377f328fa864b03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/map_helper.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ae80d9af23da643743fd9fa2c89af17e2145ab39c4c863a52e46070e4857a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/dart-lang/tools/issues/1140 - using castExpression"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/lib/src/type_helpers/to_from_string.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c845bb3281375ba85b895e3cf434c0d8c824530cd54cb0a1fe65f59a7f6ec862"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use code_builder once it supports encoding keys correctly \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":"json_serializable/lib/src/schema_helper.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c895b3c89d76710163ac6fb99ef1482ffd2c3322ece57a4f54875f4624b33d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kevmoo): make this use the generator settings \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":"json_serializable/lib/src/schema_helper.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6cf8406a9fa334bc9951f806017748571142baee50e33eba46ad9dd254ae30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kevmoo): test for nested types that are NOT annotated! \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":"json_serializable/lib/src/schema_helper.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efb11fdac9e318dcfc5fa13194ced703cc2b67d0f49cbd37e3527961556b85d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding error checking here if there is confusion. \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":"json_serializable/lib/src/type_helper_ctx.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fa64707fa6e837712c7d5a01ceba4343ef235f23c24abed3bf0066ec11daef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding error checking here if there is confusion. \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":"json_serializable/lib/src/type_helper_ctx.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9231d53d339b2318621cdbe34cd2dc086727fec3ba89e039c6146fb62e3c5ff5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: setters: github.com/google/json_serializable.dart/issues/24 \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":"json_serializable/lib/src/utils.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e2ce73a16f6d45f1ea1e4d5bfd3cc0e8cbc48f50ebfe5fc32350423d8647c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO typeConverters = [] \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":"json_serializable/lib/src/type_helpers/config_types.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f699466a7c00f30e04ab3162c1939c248d1e4bdd2317fedfc69b06000de1b799"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the type could be imported from a library with a prefix! \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":"json_serializable/lib/src/type_helpers/json_helper.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"481a612f6635d7d3abf41c793b152992a00d390c2fc9f4a13f8f919482c3c343"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: throw here if \u0060typeParamIndex\u0060 is -1 ? \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":"json_serializable/lib/src/type_helpers/json_helper.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4075d8936ca5b93fd000db0f3c06200ab8a97daaa30875d5cde800a3cb148a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider logging that we\u0027re assuming a user will wire up the \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":"json_serializable/lib/src/type_helpers/json_helper.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f732c532636fe695eccb5e682019acaad1c22967c5e9a0537921550f53a5f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///   // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_annotation/lib/src/json_converter.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7a3fc57b1e46a00cbfd2b8f6bcf089a5a56b01661d4994544fd7417a8b881"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060json_annotation\u0060 is a published pub package (\u0060pubspec.yaml\u0060 without \u0060publish_to: none\u0060) and neither \u0060json_annotation/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_annotation/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42876d53a42b7b96b50bb736ccb0caacb6c6ab647818d1f4fe63e695365bd54c"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json_serializable/test/json_serializable_test.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778058df6776e2822f83ef2dfb8f908edf959804a2ec6ee810d53d8eca1f675"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 109 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 5 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/autosubmit.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.config.genericArgumentFactories \u0026\u0026 targetType is TypeParameterType\u0060 appears character-identically in 2 files \u2014 json_serializable/lib/src/type_helpers/generic_factory_helper.dart, json_serializable/lib/src/type_helpers/patch_tri_state_helper.dart. 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":"json_serializable/lib/src/type_helpers/generic_factory_helper.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc93097495bc80c11d1708bc09a1097b3928f6fc252a2618b2f817542122fc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultProvided || targetType.isNullableType\u0060 appears character-identically in 3 files \u2014 json_serializable/lib/src/type_helpers/iterable_helper.dart, json_serializable/lib/src/type_helpers/map_helper.dart, json_serializable/lib/src/utils.dart. 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":"json_serializable/lib/src/type_helpers/iterable_helper.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7ff499c5f803d1d115028fdcf4e80d93bb6b1011236597dca1835c5e3f74c7"}}],"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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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":4,"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."]}]}