{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DeriveJsonDecoder.join (cyclomatic 77): DeriveJsonDecoder.join has cyclomatic complexity 77 (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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99d1ec7964f35ba4c4babc870bdbd06b77e62883501bee3f9f96bfa7b64b53"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.zonedDateTime (cyclomatic 60): Lexer.zonedDateTime has cyclomatic complexity 60 (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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"14079131310afd558d10bf7e4dcf5b731dee43797f76330cc5426a6b062f9028"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseZonedDateTime (cyclomatic 59): parsers.unsafeParseZonedDateTime has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"276b81282a01bc87c66541f6299ea9f7f76077e57542c619b5cf4fbe478496a9"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.instant (cyclomatic 51): Lexer.instant has cyclomatic complexity 51 (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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabd36e18f9919f7a635da7592e936077d663e5cafabebfc69cae8fa8292ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseInstant (cyclomatic 50): parsers.unsafeParseInstant 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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d955742beffc034426b9633b8e021752e40709a6618ec56c566aca72b798507a"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.duration (cyclomatic 47): Lexer.duration has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2f2cb38147dbc7062f76e24bf9f24ec0ab66c0c88aaf41c31e55c266ba6ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveJsonDecoder.split (cyclomatic 46): DeriveJsonDecoder.split has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"272f39a4469d66f8d1b803f76ac27764e6b509aa9b51436b6047651afd41fb0c"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseDuration (cyclomatic 46): parsers.unsafeParseDuration has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"943ae4da838bda8edae6f85b50cb0fa5420f8457835d43439c5dbfdcdf4e87b4"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveHelpers.buildProductDecoder (cyclomatic 44): DeriveHelpers.buildProductDecoder has cyclomatic complexity 44 (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":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e861bb2298b121a00386bf5ac12cd9e87de15500145c3c9608764f242743235"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.offsetDateTime (cyclomatic 44): Lexer.offsetDateTime has cyclomatic complexity 44 (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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"76519bbe801ffb7dd4619a30c3bede65588036d6d31a01c5a4741f46ba86c6db"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseOffsetDateTime (cyclomatic 43): parsers.unsafeParseOffsetDateTime has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d75429747aaa75792ec65559c346e5561831a7fede6496974f691ffc84908f1"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.double_ (cyclomatic 39): UnsafeNumbers.double_ has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"054c15d32d2e8b775b59e5ad35cd9239633f8be69fd929c547161d65cc21c36c"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.double_ (cyclomatic 39): UnsafeNumbers.double_ has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da312d6bdb175cf80717c5c004c88daf1cd52f56c3822b4332da0df16e2cefc"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.float_ (cyclomatic 38): UnsafeNumbers.float_ has cyclomatic complexity 38 (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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24a46382abf1c9d4937c32c60092af3f26606b00f9f6326a76b9bdd6a108e04"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.float_ (cyclomatic 38): UnsafeNumbers.float_ has cyclomatic complexity 38 (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":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7d789f9b47f0e76c63f500da90f0ee55d36ea387631fbced073a9613d1d579"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.period (cyclomatic 32): Lexer.period has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75c47723d83978832fafb45e4008e247a7f8c7ba48f20a918ef5fde00692cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.localDateTime (cyclomatic 31): Lexer.localDateTime has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f726ee85259af61d2e00d4353c2f839240cdb39fd6b9c3e8b14ac41add28bb14"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParsePeriod (cyclomatic 31): parsers.unsafeParsePeriod has cyclomatic complexity 31 (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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"1217add4be940755d9d8082df841cd83039f625e4d43bca7651c5efa82a4b75e"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseLocalDateTime (cyclomatic 30): parsers.unsafeParseLocalDateTime has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c723f874f68f49efeb004c8b2636ff73dbc7a136241be4618eca1e5c794ed6"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.offsetTime (cyclomatic 29): Lexer.offsetTime has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bfa034fbb8e4d2ae9ceaf18dbe53ff42e42fff4e63ef756ba15626874fe2ce"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigDecimal_ (cyclomatic 28): UnsafeNumbers.bigDecimal_ has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be9867c21c43f99f022eb9f1181211b8b2e55d3100b5386713759411cc536b6"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigDecimal_ (cyclomatic 28): UnsafeNumbers.bigDecimal_ has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd78a851aba9e3b562dfcce1510c807d0e1d9eea5c0cebbb0d53ae2435b70a4"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseOffsetTime (cyclomatic 28): parsers.unsafeParseOffsetTime has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50a9fbeb79364dabbe454d4df35f4663d41f7e2fd37c8fe8780ce26fb181519"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveHelpers.buildSumDecoder (cyclomatic 27): DeriveHelpers.buildSumDecoder has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6259d0e12d894589857811888643da2e1174a2587979586fd857686e93da9db"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeNumbers.write (cyclomatic 25): SafeNumbers.write 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483b8b22b5a82bce38d267838fc539c3523f6674d43f35cd88515ba47b04099"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeNumbers.write (cyclomatic 24): SafeNumbers.write has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"00833ed0b4a6a7a205e80df050d75c92ccfd454b688d833760ca131107cab386"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeNumbers.write (cyclomatic 24): SafeNumbers.write has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SafeNumbers.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb05282cae9493b646f905c7b1defbc2d021f3198e393544fd5fe9997e49d779"}},{"ruleId":"D1","level":"warning","message":{"text":"SafeNumbers.write (cyclomatic 24): SafeNumbers.write has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SafeNumbers.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88c164c2c659bd9ad42a1d73e9b2723635bd5056e2c30f4a1b55504de8c2442"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDecoderPlatformSpecific.decodeJsonPipeline (cyclomatic 21): JsonDecoderPlatformSpecific.decodeJsonPipeline has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea63cb7dc3007596c2760d4bd0812debb9f418458b73686f945f3844f420958"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.zoneOffset (cyclomatic 20): Lexer.zoneOffset 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161819b4268e5d72db9e67ed01ae66c1ea9eefe204311c459cd796bb98ef63d"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseZoneOffset (cyclomatic 19): parsers.unsafeParseZoneOffset has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2d4565a39c47c9fd8cc9ac5bfb1ffb619472d6f735093d13032e97ad0e0196"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveJsonEncoder.join (cyclomatic 17): DeriveJsonEncoder.join 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fbe9a517fd46a0ebeb70cff6abc00c87a127ca08d73a12ceb662439f4ca9ea"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveJsonEncoder.split (cyclomatic 17): DeriveJsonEncoder.split has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e8abe8a06dcd14e4707cc03fabdd1e6a295709a144ede40ccde1581ab44a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.localDate (cyclomatic 17): Lexer.localDate has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3bc52ac7c819c13521c9c9b5282556804789cc3d9ddd05d457432707080033"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigInteger_ (cyclomatic 16): UnsafeNumbers.bigInteger_ 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInt_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d431be333ae1fa87636ea7234aa72def66f36eea4fbf0b1e9d9e75357e4b3fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigInt_ (cyclomatic 16): UnsafeNumbers.bigInt_ 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInteger_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d48aedcceba8db9b15b27c618e7ee88890e2201e7693c095425c9bb1b4b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigInteger_ (cyclomatic 16): UnsafeNumbers.bigInteger_ 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInt_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fdb0424eddf15ab1982b1584ae1b79573606312cb3a360b63a7d9cc14b95dd"}},{"ruleId":"D1","level":"warning","message":{"text":"UnsafeNumbers.bigInt_ (cyclomatic 16): UnsafeNumbers.bigInt_ 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInteger_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb83bd2a4603e533c9b968862816ad71458ee840293b71e2b15798550b2e3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.localTime (cyclomatic 16): Lexer.localTime 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90a373059ca24bd36b8ab70e5dab21f1c7ec77e3aeae1e3a700b7f279cf9749"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.yearMonth (cyclomatic 16): Lexer.yearMonth has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1a711220b3c76c0a1a87844ffbe812a0ee0567f2b3996078a4345ff72426a5"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.unsafeParseLocalDate (cyclomatic 16): parsers.unsafeParseLocalDate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a1d0ce38aa61258aa64f133c53dcf96b0165a0b012ccbd70c9d6214f44608d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveJsonDecoder.join (cognitive 264): DeriveJsonDecoder.join has cognitive complexity 264 (threshold 15). Drivers by points: if/else 67 (190 pts), match/switch 13 (35 pts), loops 8 (28 pts), boolean chains 11 (nesting depth added 165). 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ed2855846ac7cec2ae928de7ca0850325e35091a513270642bd0aed791423"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveJsonDecoder.split (cognitive 164): DeriveJsonDecoder.split has cognitive complexity 164 (threshold 15). Drivers by points: if/else 48 (87 pts), match/switch 20 (65 pts), loops 2 (8 pts), boolean chains 4 (nesting depth added 90). 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5939a555b5e580f86d5bcfa0e731bc36e1e5cacf949882783c6512bec040d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.zonedDateTime (cognitive 123): Lexer.zonedDateTime has cognitive complexity 123 (threshold 15). Drivers by points: if/else 27 (79 pts), boolean chains 31, loops 3 (10 pts), error handling 1 (3 pts) (nesting depth added 61). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5ffa462338fc54be6db4fc9ea63920b33ceb574b9f4f5dd6a8071e65f224b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDecoderPlatformSpecific.decodeJsonPipeline (cognitive 108): JsonDecoderPlatformSpecific.decodeJsonPipeline has cognitive complexity 108 (threshold 15). Drivers by points: match/switch 7 (59 pts), loops 7 (28 pts), if/else 7 (13 pts), error handling 1 (7 pts), boolean chains 1 (nesting depth added 85). 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":"zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4029e72eb40af9259d099f1ca1a70d9731ddf60743355db7e63d4a39704e8e75"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.instant (cognitive 98): Lexer.instant has cognitive complexity 98 (threshold 15). Drivers by points: if/else 21 (60 pts), boolean chains 29, loops 2 (9 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d53f07ca9e1aa0841da10d50a551fdaa774d7359e4becf65a5074df7daf2a51"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseZonedDateTime (cognitive 95): parsers.unsafeParseZonedDateTime has cognitive complexity 95 (threshold 15). Drivers by points: if/else 26 (55 pts), boolean chains 31, loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 34). 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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acab545e36000f2142986d67b26418da61c7c2d51f8836c18e8266468b0a550"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveHelpers.buildProductDecoder (cognitive 91): DeriveHelpers.buildProductDecoder has cognitive complexity 91 (threshold 15). Drivers by points: if/else 36 (65 pts), match/switch 7 (12 pts), loops 5 (8 pts), boolean chains 6 (nesting depth added 37). 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":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f5b4c5b2609114fe03eab810e35f1c9b8691fd62ae909532768408b3c2ba5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.duration (cognitive 84): Lexer.duration has cognitive complexity 84 (threshold 15). Drivers by points: if/else 28 (61 pts), boolean chains 16, loops 3 (7 pts) (nesting depth added 37). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e480ee6b84383050a080476fa1b8ea212aa710d22bdd0e9ac1700dff9254c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.offsetDateTime (cognitive 79): Lexer.offsetDateTime has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (47 pts), boolean chains 25, loops 2 (7 pts) (nesting depth added 34). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7d0c78d104e6dc9d7fb50ca122d2b86306debc8dc36e504083741578f4023c"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseInstant (cognitive 77): parsers.unsafeParseInstant has cognitive complexity 77 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 29, loops 2 (7 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e2f6512a8ea42a5c7c0f23beb0f66530bcdf46993474c2852f8f4a4a6acac"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveHelpers.buildSumDecoder (cognitive 72): DeriveHelpers.buildSumDecoder has cognitive complexity 72 (threshold 15). Drivers by points: if/else 31 (47 pts), match/switch 8 (21 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59309cc7580b9fa9d67c1988ba5cce954f95d1eb18bd1a0378e36457d8bc0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.write (cognitive 69): SafeNumbers.write has cognitive complexity 69 (threshold 15). Drivers by points: if/else 25 (55 pts), loops 2 (9 pts), boolean chains 5 (nesting depth added 37). 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5394a5b8f5e6619cd022c17875e49397eefd035d26847f09b14b34f07541d8"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.double_ (cognitive 66): UnsafeNumbers.double_ has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (45 pts), boolean chains 16, loops 3 (5 pts) (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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97886336a20e40e7b99a1ab1b270c1bae4c024ec785a9aeb577aa0bac69b4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.double_ (cognitive 66): UnsafeNumbers.double_ has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (45 pts), boolean chains 16, loops 3 (5 pts) (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":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4910beb3773f2c9f0306a9e11127081285d5cf460f8d1ed87d40f12f0778cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.write (cognitive 65): SafeNumbers.write has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (51 pts), loops 2 (9 pts), boolean chains 5 (nesting depth added 34). 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb69ed9c79d3abbca0e88502a43c3c35535b06a58d460d84c56d2bce0c1b80"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.float_ (cognitive 65): UnsafeNumbers.float_ has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (44 pts), boolean chains 16, loops 3 (5 pts) (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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d260afed6fb7cf76221c40a97ba4f981720933248ed57556d6124d07e69d857"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.write (cognitive 65): SafeNumbers.write has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (51 pts), loops 2 (9 pts), boolean chains 5 (nesting depth added 34). 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. This shape REPEATS in the file: one other method here (SafeNumbers.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a53f8e199a4a432a672ae22ce82f3d4914f6970c498ab9e1ac46cc500eb4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.write (cognitive 65): SafeNumbers.write has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (51 pts), loops 2 (9 pts), boolean chains 5 (nesting depth added 34). 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. This shape REPEATS in the file: one other method here (SafeNumbers.write) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54478522dfac02b04357c436be17be57ed7dd4a62a6c90a5fdddcd3587c847"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.float_ (cognitive 65): UnsafeNumbers.float_ has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (44 pts), boolean chains 16, loops 3 (5 pts) (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":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f14198126aa5b4346774c1819b2128394b392b5c813427126c283a33897afa"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseOffsetDateTime (cognitive 61): parsers.unsafeParseOffsetDateTime has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 25, loops 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c6da777bfba80b3fdc2ec56b7bd10e2ed244ae71d015bf75c6da235b18db92"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseDuration (cognitive 60): parsers.unsafeParseDuration has cognitive complexity 60 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 16, loops 3 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc32fdf0b7ab35067c872b21301706a0e13057ea489d6aac08a37860525ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.offsetTime (cognitive 59): Lexer.offsetTime has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 13, loops 1 (4 pts) (nesting depth added 30). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308c33f199f6f88244b310f2b4490766eb8680a2112a181a1cd9bf6d8995e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.period (cognitive 54): Lexer.period has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (39 pts), boolean chains 11, loops 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b340066ecd6584077c7cda7b7a6f2cc0a48b9d0a32b605e474608bb4a613ae6f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonEncoderPlatformSpecific.encodeJsonDelimitedPipeline (cognitive 52): JsonEncoderPlatformSpecific.encodeJsonDelimitedPipeline has cognitive complexity 52 (threshold 15). Drivers by points: loops 7 (30 pts), if/else 4 (15 pts), match/switch 1 (6 pts), boolean chains 1 (nesting depth added 39). 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":"zio-json/jvm/src/main/scala/zio/json/JsonEncoderPlatformSpecific.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bbfb01e40f42b413925c9237999a6b9b04da17a78d96b4651fb80612f72f42"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.localDateTime (cognitive 47): Lexer.localDateTime has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 20, if/else 9 (20 pts), loops 2 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9441f81bb9b04b029d26cadf1076c32603b339c92286772af3b3ae4493f13c"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseOffsetTime (cognitive 44): parsers.unsafeParseOffsetTime has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 13, loops 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a848ca95000902d0a9be98549edebccdebb2c87c7c8ab227ff4e8ae93309bb2f"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveJsonEncoder.join (cognitive 43): DeriveJsonEncoder.join has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 6 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac5b7c6b15a65ec18262b097b3958354e8065d6d383993d94b34b991cbbbb2c"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigDecimal_ (cognitive 40): UnsafeNumbers.bigDecimal_ has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 13, loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e3fe5ae573e127cff21f5c82f7943bd0828aab455f6d1179869915ffb56361"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigDecimal_ (cognitive 40): UnsafeNumbers.bigDecimal_ has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 13, loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"96766ae5ee1306487e54023bad8ef80f93cfbbb3729ad8d20d0f805b517435b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.zoneOffset (cognitive 40): Lexer.zoneOffset has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 9 (nesting depth added 20). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dce24f7386cba2d10d9c4152e379b668c97a81eae7d2095e29039149989968"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigInteger_ (cognitive 38): UnsafeNumbers.bigInteger_ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInt_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"232d830ab0a65734013386090f49920a7fd4fc09b29b0ff5f156127d8e295ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigInt_ (cognitive 38): UnsafeNumbers.bigInt_ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInteger_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f315cdc7840ebbfa3199b7f0e7b19f1685ec44b2031368c4df3d80aab85df3"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeBigDecimal (cognitive 38): SafeNumbers.writeBigDecimal has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad7deedca97ad0682321211e7bf54ac5aaf205cdf084fb0d25a0dee0ae7020"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigInteger_ (cognitive 38): UnsafeNumbers.bigInteger_ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInt_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded5df08e94ef64959c06d0d7d6f8ddef78013142ca0cd272ced367824dbc6d9"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.bigInt_ (cognitive 38): UnsafeNumbers.bigInt_ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (UnsafeNumbers.bigInteger_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9591a0842d58ec7252cb11efaaa824c6c8d2a12852bcc1f132a560e1c8daa"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseLocalDateTime (cognitive 37): parsers.unsafeParseLocalDateTime has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 20, if/else 8 (12 pts), loops 2 (5 pts) (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b783fe9adcb5dee37396d10e4f83ea2fe82507a5bafe7836363f38559b622a0"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParsePeriod (cognitive 37): parsers.unsafeParsePeriod has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 11, loops 2 (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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85f85d689432e7d8e885e7c565b6d86a17b850187decfaaaea0b8616a1aa35"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeBigDecimal (cognitive 31): SafeNumbers.writeBigDecimal has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 1 (4 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846774909a843864d47b9f108299a4277e8189fa3082873505de17652922db8"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseZoneOffset (cognitive 30): parsers.unsafeParseZoneOffset has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 9 (nesting depth added 11). 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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c559cf748ae70de6a606e0786cca6dce1bee2ec7879bcd97bfefd324ae44fe"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveJsonEncoder.split (cognitive 29): DeriveJsonEncoder.split has cognitive complexity 29 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 8 (10 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0886314896577a9522a559ad63817cf328240b0f30a51aac365213a147b58d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.localTime (cognitive 27): Lexer.localTime has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 8, loops 1 (4 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a893f5376e6b44c9f2e7dd8061db966f15bbb2b1b786073423cdf785f9cebe"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveHelpers.buildProductEncoder (cognitive 26): DeriveHelpers.buildProductEncoder has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 4 (6 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6556eb4c1d5d58b52e5eaf51d39d3d5a934d1698617bf52b0f8e7473fbfe67e"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.toFloat (cognitive 25): UnsafeNumbers.toFloat has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.toDouble) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8964446a68ffff4738b21052bf32022891084a9464ff0ce32b11e4dc8a0dddda"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.toDouble (cognitive 25): UnsafeNumbers.toDouble has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.toFloat) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dfc911af32f703169e6468d4fefd4ed2bbcf6983ac74e3fe73b5e58e76b194"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.toFloat (cognitive 25): UnsafeNumbers.toFloat has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.toDouble) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8f751e4b0a4f35a546d7419348ed0583441f1323454eec06c5d0fab2e8a25"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.toDouble (cognitive 25): UnsafeNumbers.toDouble has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.toFloat) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1aaec3dbb258609183287e67721b0dd8131a3dc49496c04e2de9caa806b84"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDecoder.either (cognitive 25): JsonDecoder.either has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/JsonDecoder.scala"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0af2cddaf5bda102b72c665a10290b2086b26501463a0d5a7dac8382529bb7"}},{"ruleId":"D2","level":"warning","message":{"text":"serializers.write (cognitive 23): serializers.write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2 (nesting depth added 11). 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":"zio-json/shared/src/main/scala/zio/json/javatime/serializers.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"445749f6ddd685b7444581cfd4af1d2621c72a21a22bba8392f7f52f27cb1e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.yearMonth (cognitive 22): Lexer.yearMonth has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts), loops 1 (3 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"92090345e13383e7b1a7371c9160c938494d1a8f2ebfd2cf9611a08888706dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.digitCount (cognitive 21): SafeNumbers.digitCount has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (21 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b261a02ce14def56139d4a057f7a09c4238fe155f812fdeafbccb3d976d97a2"}},{"ruleId":"D2","level":"warning","message":{"text":"EncoderLowPriority2.keyValueIterable (cognitive 21): EncoderLowPriority2.keyValueIterable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e368397a8907a63a849c1e31dc68c5ec3a9136f9c07605b0ccce53f71235b"}},{"ruleId":"D2","level":"warning","message":{"text":"yaml.jsonToYaml (cognitive 20): yaml.jsonToYaml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 7). 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":"zio-json-yaml/src/main/scala/zio/json/yaml/package.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aaccaa785399952aca2c57ad9ad04667ad06af669a534a2e6e2d3442ae3826"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeMantissa (cognitive 20): SafeNumbers.writeMantissa has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (SafeNumbers.writeMantissaWithDot, SafeNumbers.digitCount) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bac7103af22f257810e8a66cd9fe4a0ad35236f9d8ee37f2d91f14a08b083e6"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeMantissaWithDot (cognitive 20): SafeNumbers.writeMantissaWithDot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (SafeNumbers.writeMantissa, SafeNumbers.digitCount) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e67a90a12d113979c198c41c30484f4546bf5357edaf939124ecf2f3f11a4"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.digitCount (cognitive 20): SafeNumbers.digitCount has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (SafeNumbers.writeMantissa, SafeNumbers.writeMantissaWithDot) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"66487750aa138326fa4e1f8c7cddc58c8014cb425ba7db4009371a358ff8d6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeMantissa (cognitive 20): SafeNumbers.writeMantissa has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SafeNumbers.writeMantissaWithDot) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa541412c789e9137896efa602d31343f2234e1ae43c99e00bcec73935c9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeNumbers.writeMantissaWithDot (cognitive 20): SafeNumbers.writeMantissaWithDot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SafeNumbers.writeMantissa) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19a2acaf940ad8c6ac2d378da02f0eac1ec3cf5d24c3e3eaa81a5d782e2201"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedWriter.nonZeroStateWrite (cognitive 20): NestedWriter.nonZeroStateWrite has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0cb8c658582f13d08bcd6849eb0b55188e354ae9d2a746f399951ecff44789"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedWriter.nonZeroStateWrite (cognitive 20): NestedWriter.nonZeroStateWrite has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d38fc9735ba42b68bb7b4787bf7e09929e487f71db68bf7bbe31de4615601"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseLocalTime (cognitive 20): parsers.unsafeParseLocalTime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, loops 1 (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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6935541e77ed1c1e754278645e2e40089a533de847ecf29e0693a4971148d2fd"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.int_ (cognitive 19): UnsafeNumbers.int_ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.long_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd84da22b83999f41c032169256b8369a80437a8dec5f399faf6b5bfb9241c4"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.long_ (cognitive 19): UnsafeNumbers.long_ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.int_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe80de77b7828a09ac5cc9c5025bc0a6707abba9d635fea38689405214e4e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.int_ (cognitive 19): UnsafeNumbers.int_ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.long_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84482185b84906649cf9d282867bb49019ce4642ae2aaaac7426d5221b6c8ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.long_ (cognitive 19): UnsafeNumbers.long_ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.int_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7145c7aeb12be0e6830b6d8424041799fc2afd598c98d310d79d3672af6ff940"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.uuid (cognitive 19): Lexer.uuid has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3b5cff5ba9a4187390f8a50d6bb0bdcb55b1a00554b02f8cafaed658337985"}},{"ruleId":"D2","level":"warning","message":{"text":"StringMatrix.update (cognitive 19): StringMatrix.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"7808c7c6e80bfa0d47e669cc7505bc973e6e05ab4e92d7d36cc91d02a3deb5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Utf8ChunkReader.decodeMultiByte (cognitive 19): Utf8ChunkReader.decodeMultiByte has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/readers.scala"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee5b3b065c52132f2bd8b6000e0474ecfe0cb24033be468b8de18c171b1fd1a"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.byte_ (cognitive 18): UnsafeNumbers.byte_ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.short_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9fde0261dfb391e30b3324558cbd2886b339e03c0caaef2f2670fabc88be7b"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.short_ (cognitive 18): UnsafeNumbers.short_ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.byte_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9545fddb7da53815e756a420578bb2368c2725bb174763f9d62b0d8b21999f6"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.byte_ (cognitive 18): UnsafeNumbers.byte_ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.short_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c11d421b9a73f359df22d93d4d271fd05834da57d651c1c95762053206609a1"}},{"ruleId":"D2","level":"warning","message":{"text":"UnsafeNumbers.short_ (cognitive 18): UnsafeNumbers.short_ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UnsafeNumbers.byte_) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"950b10153250b5c2abc2f9d73f99fcf8dc73210c99c0535df4f3918460019927"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.localDate (cognitive 18): Lexer.localDate has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, if/else 3, loops 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dda07bfc2597dcffa39e073bdc0efdf77b09c52aa286e5fac9d1cf95cfdb446"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.year (cognitive 18): Lexer.year has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (6 pts), loops 1 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e511758daeeef29b22dc9dda0762001513ab6dfa1197dbba4883eeba686cee4e"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonMemberNames.enforceCamelOrPascalCase (cognitive 17): jsonMemberNames.enforceCamelOrPascalCase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6518870bcfadfe29c6d16930a0c3a157268c9c33922ce7de8cb9a4c87b30a0"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonMemberNames.enforceCamelOrPascalCase (cognitive 17): jsonMemberNames.enforceCamelOrPascalCase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c975a17dcc3ea55432f191f711bcc10e9c74a7519079b6267a2aa961ad29c2"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseLocalDate (cognitive 17): parsers.unsafeParseLocalDate has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 3, loops 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8061f84f634de9b7dffeb0fed2419fc9937142884786070babc24934f6cce49d"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.unsafeParseYearMonth (cognitive 17): parsers.unsafeParseYearMonth has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), loops 1 (2 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a865b027195c83b36bf42f463a391139cb3c0f0d5e4a4614859fc9783fcd078"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedWriter.nonZeroStateWrite (cognitive 16): NestedWriter.nonZeroStateWrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"798fa5224cc37febdff8a97d6180f30f41d65a4f264f17fa6641d219d7e078ce"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedWriter.nonZeroStateWrite (cognitive 16): NestedWriter.nonZeroStateWrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"034327e8de43dbda61d0b52a0d0a747510aa648abad5e92616b6c1438e696ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/lexer.scala: FileTooLong \u2014 1535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1035 over it, 3.07\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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6277e38ebab6a75c61c066a689cda1166e101e1dafe4ff7fb98d9e02f166634a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Lexer: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaa47b133e75fcbfe5edc62a419417c32b53374003a738dc8c7cac2b1edf95e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/macros.scala: FileTooLong \u2014 1257 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 757 over it, 2.51\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":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5190b41382eaefd8cc2b523a1ad2a625054e4948b07e3f3f604222c8ae1a46d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javatime/parsers.scala: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 521 over it, 2.04\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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac01d20634fc0bbc3068db12a376e10d5720f62a4d2353468eb068737ed86746"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SafeNumbers: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ca97020523ab455982d95f8f26ba2c6b50c0d5b4c144250e75833726d65622"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/JsonDecoder.scala: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 over it, 1.53\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":"zio-json/shared/src/main/scala/zio/json/JsonDecoder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1c3c907022ae3a58e666cba325fa6bb0cf4a4393b31c153e3876871b9de4ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/macros.scala: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 256 over it, 1.51\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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b2bc84079765d89abbdc87dcdfe5e1d2dc5ae332287cd38a89176d1eeeef34"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SafeNumbers: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c19d637e61e959ac467a4cde0b7691f39424dd1827ac138d6d9d37f459f1abe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/SafeNumbers.scala: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 188 over it, 1.38\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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4f1ec44bfb765b2721b5b595d0c051fc2aff3f7dda83329f7f6484f973f74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MacroHelpers: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a6d9a77c174292f47f5901e77815b86eae365d093f8a2f222d0e2226399df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/SafeNumbers.scala: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\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":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f02fcf3b015196eabb5fc58aee856bc200300ca5611a97572e74c7f1533c31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: parsers: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b216b68e3c4fc86cc7612d2e455c2cf0e85007c40433b8efb6bd2cd132289b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Json: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/ast/ast.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a381116ca375ac02b4295b9d10dc6d41d97892ec0ab1d732fb81c85f9d78ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/JsonEncoder.scala: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 46 over it, 1.09\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":"zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97fb3ba3c1db504bdb9698536bcf1d87f44c24d2372e0f8e09d02452da55077"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: serializers: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"zio-json/shared/src/main/scala/zio/json/javatime/serializers.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9e9be144df9bdd382d166dd71eeef311ab4a52cb4cda183898be7aab011810"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 44 shared lines): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:235-314 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:360-457 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:495-596 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:235-314 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:360-457 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:495-596 \u2014 These 6 members are variants of one another: a block of 44 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff18e0784a0ec216b83330abcbe3100c1b0fc4c5dfd34126656c88119f27236d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 39 shared lines): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:279-390 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:392-491 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:283-385 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:387-486 \u2014 These 4 members are variants of one another: a block of 39 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47c4bd7d9d267a3663f2787204c93c260ccfbd54dc8f524bcd6d574289e4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:151-188 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:193-230 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:151-188 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:193-230 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ad7a0042414805f46ec5e4868ce289987e21fe50b01204aef0f38a7687adf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (16 shared lines): zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:614-650 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:652-703 \u2014 These two members are variants of one another: 16 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8933a302b99bc6e4df831c1d3eaded76951b1196609f473d9d3325094f6a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:508-668 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:670-727 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:729-837 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:923-1069 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1241-1283 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1285-1335 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1337-1518 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:125-282 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:284-337 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:339-443 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:521-664 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:829-867 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:869-915 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:917-1096 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b60b488db4527e6ab835555f18020999757134e5e1330ed8622d707b6b14e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:39-60 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:65-86 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:91-116 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:121-146 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:39-60 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:65-86 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:91-116 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:121-146 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1ee928adbc7f3b7c1048f17edb9fa8bc642fc6bf286ca0f1df77031b6da70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:508-668 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:670-727 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:729-837 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:839-896 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:923-1069 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1071-1166 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1285-1335 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1337-1518 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"006e22ded263c77a8f00320f48c747b26fa9d68813a49eef364b5f0c31d99184"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:125-282 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:284-337 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:339-443 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:445-498 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:521-664 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:666-758 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:869-915 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:917-1096 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"276de046991456dd1ccb6e28f629e196af6f61eb120f843210ed42a5b59c614a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:912-923 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:929-951 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:957-976 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1571-1582 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1588-1610 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1616-1635 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3dcdf7b77933b1f59ed739c5316bae4f5bc83531643c00c08a8811a2db76bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): zio-json/shared/src/main/scala-3/zio/json/macros.scala:337-391 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:500-533 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:595-627 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:648-678 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:684-714 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5a66839e0e09d477a94c70c374c043274d4236bc8003e6616abe7d19467f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:508-668 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:923-1069 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1071-1166 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1337-1518 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1520-1574 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b6be5bc87159b2fc2121d4aab52a6b947f2ff23061a4e192c1696f61f8da24"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:125-282 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:521-664 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:666-758 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:917-1096 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1112-1164 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccd9bb65f2bbfeb590dad0c7adc8a0300cb0eeb64541f65a5ee257989bfa2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:462-490 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:601-629 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:462-490 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:601-629 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b501eacd71b61e51a16019426d3608cde14972e3004c6b45ac0ae66a1e691b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1029-1037 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1040-1050 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1688-1696 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1699-1709 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6632217a953f68959b93fbd9b6830e92d0c5932904530af28450e5a2b9310de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:335-383 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:467-516 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4880a23c7fbd1b3e891d365dbc74b0f3f77c7566c10051b42e186355a72900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:280-322 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:412-454 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1a231a24d60bea90ecf977159bb28e0ad98059c7443d5edd06d33257cd17a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:136-169 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:140-173 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:136\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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d74aae406d40d7a43aeb4f578d1833ee730ccc3910e15fd4a6ffbc6764b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 6): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:273-305 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:407-439 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:542-574 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:273-305 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:407-439 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:542-574 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:273\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2fb92c46d92cb6c32c4aaa9e75c149a94d7e199eaf602a9ef0378f988f9d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:363-390 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:358-385 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:363\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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b964a2ef2bcff99cfd1a783b2bf805bac33d3124a9efe3a9b4ac6f47f010fad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:651-677 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:691-718 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:651\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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"c399bfb5e64c7c2afe7ec00c1b2f4fce26f679213d5ce5cb525453c5b3bd5fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:193-219 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:197-223 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f0e4d7fa01423333f307343bb119e2119265b128db9a12cc5a01abace7b698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:94-120 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:92-118 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c2e53b5aeb693ba0d163fb95615e48aeb863c83a3eca3617b1265362d5c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:280-301 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:284-305 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:280\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ae270484559a44c1a5b6d92cba7fd26b2a1914c107f21cd16783009d0b8faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:930-951 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1589-1610 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcefd0e57546495d292c048e974ca596f4f4ad45d52d57e9a46e0d244d2b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:393-413 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:388-408 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7f28f3a3ba5e75a06d92530408dba2ad3d4c6b393f899c7075dc174b8f604b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:415-435 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:410-430 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:415\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b82250ef5f6717914939fe372d4750464cb0d1949260e9dcf088e4acd846ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:362-382 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:362-382 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:362\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ed8228c95ec391c36bb4f7207f5567b93905eca9e25047dcda7e6c6ab1cdd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:497-517 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:497-517 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:497\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1e08476885a87945d20297a036746920fa48dccb80dd2c3752bbda64e0f379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:123-143 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:121-141 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"890310258a30704b26de5ec6e4886e11caf59097f8f7b877cb0c7e2963301b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:146-166 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:144-164 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f7e10f4f316053c3c0a501a336fbcd827ffa2e8824240af402be96ffb030d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:276-295 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:441-460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b86d1c550496bd48871f0bb1366ec02be8a528da724d40e58874648f87c609b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:307-325 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:311-329 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e312b1b11d46af1b75dd68cb3a72d928f8ca87f45f5f2d7bb00b994b52a2fa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:337-355 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:332-350 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:337\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49f135d013e3a9718593c9eb21210e25879f765e84cc99ce789aafbffa036b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:958-976 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1617-1635 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d237f5b6ef65a6ffba260c409dffb02284de62dfbd463479b7017a8866a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:99-116 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:99-116 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:129-146 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:99\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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c385f027fa27a9e85fcdce1fd5f6abca46b9e719985cc1cb455fabc64dda5dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:437-454 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:432-449 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:437\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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b154333b8686671f22470e08e6c292d5fb4461bde15f517690dc9db8ad31cd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:813-830 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:872-889 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:813\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb97990a46d790deaf73d31b8523105df6c39e03eeff565ab36cb78d61b24ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:421-438 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:476-493 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:421\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bebc92b8a2f074d77155b18da910db71b7a6d61a275d6e880a7d603b6fff370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:355-371 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:456-472 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:350-366 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:451-467 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc71cdbc28ad50af315e68d43dde03b49e0bf0e07536f27b83ec1d8bb6fb88d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:701-717 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:653-669 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:701\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8bc46f683c4e2bd9d85c870d42605ccd19205deda3e2e0580c252a46b10043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:247-263 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:381-397 \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 \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c656fbdfb996190b7b32eb7b7f56cff8af384f5a20ba18684b99c851b577e127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:352-368 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:505-521 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:352\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdf39f0bfaac7d74ed02cd9c9083095f9fd2aec66f8e95b00983012be83392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:256-271 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:390-405 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:525-540 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:256\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e1fe43e25ac4d19718f09bbd7f3cc8c0fa0bbbba47b985aef4c2f153faadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:256-271 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:390-405 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:525-540 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:256\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51f724e47b72c5225f472e21e4cb652cc421fa0ac65406b0bff291223cccd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:691-706 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:749-764 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:943-958 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:691\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2ad45d8c3754c88ad94620fe8a386a59b7c0af68b9c8ee4840e8de39183ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:302-317 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:357-372 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:539-554 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"71605984bae7de4c0bbb7520ab07ba396d3413c71e284ed91405ad5194533dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:158-173 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:200-215 \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 \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4238903e5dd591395a3380b577e40a7574f4c3efd748089e2873e0760159d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:340-355 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:340-355 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f736634746432fc5232ea9babd32314f46d8014660e9270b79679b3cb163b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:614-629 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:614-629 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:614\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d693b573e18542d4db8e2f55f1032e69b61aa2639cc1ee1db1a0f5f1c4c999d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:158-173 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:200-215 \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 \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbbe2e15c7d09e13015c166b1b72e2dd613befcb9301838a4ca44290a5d99f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:1493-1508 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1773-1787 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:1493\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"330259dab404436af70e5e8384c035e6f58806f8370a7b2a65dcde3319e8afac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:534-549 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:149-164 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:534\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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c149b59250f14853c68920b643aae4cf3ca43b306ad6bf89e52f3c47eac9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40-54 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:66-80 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40-54 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:66-80 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c306ca681e34b8953bcfc95db59125caf19eb8b64718089caf08750880ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:167-181 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:209-223 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:167-181 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:209-223 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:167\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c454f77ca907fa194cb6b5d512a949d4ab5baaff5fd5f247da32bb28493ca5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:411-425 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:303-317 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:406-420 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:411\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ac969bd98880dde60c006697aece3e8280d96d3573a2ed6341dc9e08a8bebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:476-490 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:476-490 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9165e0632b22930e16f293c89a1266c1b76d9d697ae17e5f6d8eca2c5fde1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:547-560 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:565-579 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:547\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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf1d902609f1a6cefab513dec44026da4b4343a55af85d105f6a8801f963f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:789-803 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1226-1240 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:789\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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be3f56dce969b9f67939f22b4dfbd5298e8ee15967bd9e2e0154ba75c955189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:1419-1433 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1752-1766 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:1419\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"029d92943e429f649e82d4712a114f90100af416119ae7b0dcb078602c79fb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:152-165 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:194-207 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:152-165 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:194-207 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b715347a3f8a32aeb5d8eec2041ea02771dab12076917acb06f1d2391e4b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:272-285 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:404-417 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:862-874 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efb09e02a62e6d6c26f95fea602e1081ab4259823344b29d9f8f875ccce33ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:261-274 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:265-278 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0bb176b5b705976f0d1e7d15a088a6335fc385e5e6abedb11686a30c8fb10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:697-710 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:755-768 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:949-962 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1311-1323 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1363-1375 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:308-321 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:363-376 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:545-558 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:893-905 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:941-953 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:697\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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd9516c4f13f7bb1be92003e3e86a103e1d4312eb8b0bd50be973c0214bdb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:282-294 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:395-407 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:286-298 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:390-402 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c885508b958112eab330a3ad02d4e6e497eab93c80246bae4f629ef8be9105e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:253-265 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:387-399 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:253-265 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:387-399 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:253\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c9bc5b554c88b6375166b817ed5663b52c3150db9cfb7ffc464ca5bb08ac77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): zio-json/shared/src/main/scala-3/zio/json/macros.scala:1440-1452 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1530-1542 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1810-1822 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"01599f5a9aeaa746ba36652a059f4f537d655312e07b726e7959789714813b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:122-134 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:122-134 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9ce263b8e95ca62678a60742fb8f06d6399a56ef0413e5b13852d508511cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:236-248 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:236-248 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c15856959288544b97a8838c105bab9dc3b4897bb368a74cb655ac50c77dd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:522-534 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:522-534 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:522\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad36e813d316c9d899b2ca76c236ecfc9e5ca91383c38f4d3106563c3d3d30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:590-602 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:617-629 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:590\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"4457435fc64533873e6bbd715fab1357b566378a42293d6a64ebb02018fe61aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:904-915 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:947-959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3f085aa1ed5b62712cb1359709d4e941bb02477bffc9f7df0dfeb4f5656936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:627-639 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:643-655 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b82b8e31fc2cae097dc017d5f641feefae8a3aac017485aa5a4619098541556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:799-811 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:858-870 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:799\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa887ac2539daadc43489be336e3927b81417cc2d4be9bc168f5f93e9ab0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1450-1462 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1466-1478 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1450\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"24634aecfc7040f381d464ff50d64b534ed1dd5ed8e6793b6ae95baf1b8a094f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1592-1604 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1167-1179 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b7eb7a628d1eaca2f9e2cc26319a09ba0c68d17ed07528566ac0013a846e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:242-254 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:258-270 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dfcd997d8c5a991ad6d9182687f17c3d7cdba2dd606dd9055f2513ff2e92f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:407-419 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:462-474 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:407\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b07780f69947e4766cefcd0e0fb64d6e50bc525622738b5f346237bc2541a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1028-1040 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1044-1056 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1028\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c4d3582428a4c0ad55dfa7147d532046c66d6b7754f7edc99dcebf1988def5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:993-1004 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1090-1101 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1402-1413 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:993\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9a87e8461a4fcd804b8c806738d3e176eec2c4afabf7e6e62c8b2fe5a44802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1048-1059 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1145-1156 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1555-1566 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1048\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd904957ae6f55b15d74c60660f5d2a3cefcb29ae670cb1214d4962d5922dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:589-600 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:683-694 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:980-991 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:589\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc65355276fbe947dc75eb7a2b550ec3ca851ceead495cc7a8ae6e999bba0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:172-183 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:176-187 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7045ed9b61fffd6d1d3d107cbffeb9d5d84a7f9c470371a81a4e561fc75300cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:226-237 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:230-241 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2f2bd60a48e1584d1e95275a6c9e12c39b0dc0183b5d76ca21bdda547d2b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:768-779 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1205-1216 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:768\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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a898b12123a95ec0536a73cacf81333469b1362c6d56cb35a0c57544b7c3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:262-272 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:419-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f87b97f6cbb81042b2d9aea60da1042f9e47c2af23ad8179a9dcc72d5f469b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:1405-1416 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1736-1747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4138ac05b0872f949f6c1095985dad5609aac086731d634b1209b0cca3a74449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:241-251 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:375-385 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:510-520 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:241-251 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:375-385 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:510-520 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:241\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c9c9f3365b2720ee8c5e05da3b7d774c46d73f0fcfe1ac6ba0930a1008ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:297-307 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:341-351 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:370-380 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:429-439 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:473-483 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:502-512 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a985693397f0560621478e9dd663499f64ad25b73f7beca64ed784851bf3fd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:464-474 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:603-613 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:464-474 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:603-613 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d647f671443b2b634e34cf95bf1330839020a5781a0a2160b63b28c5c7f6820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:528-538 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:691-700 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:749-758 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:943-952 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:528\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ddf809fd25a68b9635906f81042be85ea7ce6b3dd48f06a5034ff7d303dacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:143-153 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:302-311 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:357-366 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:539-548 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8988bf3465cace1655d8333f91c6d9b3ca3cfc41c887201a0c74bb2a42a20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:373-383 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:474-484 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:368-378 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:373\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b928e3da09557ae5d498fce9b3981270d8146566aa80d1620d4a974495942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:509-519 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:730-740 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:924-934 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:509\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4827abba5fee65654a1f03470fc6b5b19cb9aee3473a133624b7c6b2c4ba619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:112-122 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:112-122 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a3aaa3c1f4a019a4bdb44a778d64bbcc25cdf984ca45435f45fb9bdf98b85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:662-672 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:615-625 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:662\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"b467a09487810a7d57044585cc45ec8fb55cf6ca31e0678e9c5f116c6d86e949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:324-334 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:456-466 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:324\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f132b6af94770873e3a6ba05b9c50aff0d6f8606341e6df95c5bc7f3a2b6027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:913-923 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1572-1582 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7b736b1a50e96f4b1b3798e47151ce7e43073764cdc4576dc17cf11dc158d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1040-1050 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1699-1709 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22635b972d3b87374d0f927fc35336c58a23b7cffc92b3db791f47ec8eb7c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:248-258 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:338-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c179a96e0a110c1f4699916cec9abb18ccc6cda5e73616ba7332ad57ce418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:1278-1288 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1310-1319 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:1278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9fa71f5ce2545b2fb9d4b354c14d310c45615133c00aeaebdd29cb20efe740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:606-616 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:221-231 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:606\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"54369bbef23742821b124adb2936f9e25cfedacfbb26d6bf254a6a78bfb8d247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:786-795 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:845-854 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:980-989 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1077-1086 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1390-1398 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:786\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e086994209fdd7d46f6d4e198385afcc0157aa866e52c1e04d9488f2406f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:550-559 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:717-719 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:769-778 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:963-972 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1376-1385 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:550\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4bd4038228e4559a1322800a619f87410d9d7e27ebcb13d1920d8fc9057cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1013-1022 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1110-1119 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:609-618 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:703-712 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1013\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d26ba50a546195890882c26dc518cf009baef05331b1e2b2eada58c2b906ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:165-174 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:377-386 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:559-568 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:954-963 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0864440b0477b11b7a83490c8177b7a7bdc0af7dd1179b15fc3b201ea7b79ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:119-128 | zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:133-142 | zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:149-158 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:143\u0060 calls \u0060cs\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69beb9213632dd8fdf2538fb37e9117ef65cd121597d0d76e2d933d3393f05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1035-1044 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1132-1141 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1542-1551 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1035\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff5f801194418a24f11d30bd6160d3b4ff91663aa073631a6cb7258c52cc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:640-649 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:680-689 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:640\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf09732c97912dbae03890332566d14b5ae70498918fb48e4c811fb766f5779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1034-1043 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1047-1056 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1034\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c5c0952d28031835bce46f45635af232ac3eba86f9ce91e3ff8a908345a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1131-1140 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1144-1153 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75144276e4bc8f844a40016430bb4a80e3815a561e0c503f83271ad336ff8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1541-1550 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1554-1563 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1541\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5651bd8727df720d211408758683e9980cc3d00c0c329ef3aae4dd6ca065b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:912-920 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:933-941 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:961-969 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1571-1579 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1592-1600 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1620-1628 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:912\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec18589ae4e4babaf533c83af9a7e3e6663cbd672231deaffcc4d6fccde33386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:631-639 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:644-652 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:725-733 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:738-746 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1133-1141 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1146-1154 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:631\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"64404afc7a47f3b1a92fce83228b0961bc3056e6f963191fdca637dd42e2c7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:395-403 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:450-458 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:577-585 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:671-679 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:968-976 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e62b14187a11decd49d0cfaaa82a22d4c8dd84b0f1143b8c708749cbaff3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:297-305 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:409-417 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:301-309 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:404-412 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b996200bfc1ea2b965046fa8b51604e123c38a4f24c2fa3ea2ec59cee7cf59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:65-73 | zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:78-86 | zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:92-100 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:87\u0060 calls \u0060cs\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala:74\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/FastStringWrite.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df5e12659d7c62f9209258ba679e31778668495c0b75866ddd4f9c6c149b8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): zio-json/shared/src/main/scala-3/zio/json/macros.scala:596-604 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:649-657 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:685-693 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ac6726da46597d0e5690ff240d5cf2eed31e79e74ae648ac4754d9f1449e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:632-640 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:632-640 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccba43762c60ccde1241d84ab3a0c6c117814f14259e97e106bdbb60e9923112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1029-1037 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1688-1696 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af57f2b02683593efc2a033b8519406209545c7b011e1f6d497f83e7b1f77a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:650-658 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1473-1481 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:650\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a3a78355370c75fee217dcf8adf5646230c429b36a917ff034b2ac0659520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1211-1219 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:801-809 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b3cf79b7aa5dcd15acef5a36309b4b4814538310236d1ed6e91277ecf12451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1424-1432 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1002-1010 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1424\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb430df6793275aa684e9ef5eaab83ed3068e1f0cd7d44ea7ed767c1dff1a1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:513-520 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:568-575 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:734-741 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:785-792 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:844-851 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:928-935 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:979-986 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1076-1083 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1290-1297 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1342-1349 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:513\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc33b2b1b2ebb22e34a1081b701af40286a71680e05dddabcf8733027cf540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:619-626 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1026-1033 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1123-1130 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1442-1449 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:619\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47c597e9fea956965c75a6fe52099547f76cc193fd198a4bd9b033d7657a38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:126-133 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:285-292 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:340-347 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:522-529 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd48b720483eb97393acbc213ece0aa0267ba3047ad3beac4b2a9c13d5d538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:234-241 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:622-629 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:716-723 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1020-1027 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:234\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef814c271b805ab3b89dae652491f17884e74d6cfb13435af3e7b7f0e8fd23cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:323-330 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:323-330 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"708757c5bf7228369d6308bed8f22175d1da83b2ad8833fcd25fedfc5036fd54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala:33-40 | zio-json/shared/src/main/scala-3/zio/json/JsonFieldDecoder.scala:33-40 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/JsonFieldDecoder.scala\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18514efaa2cd952b9631f48ff0ef572d2e5fc4919c411dd77da9548866eaadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:539-546 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:570-576 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:570\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbddff9c0aa255542601ad423820bba6e7677e18adbaac9a31eec0637ed1ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:514-520 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:677-683 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:735-741 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:929-935 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1291-1297 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1343-1349 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:514\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c88edf05cd97bdebd9155ff75f3405fe7c7ec2b583238d916eba9ce16469694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:804-810 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:863-869 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:998-1003 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1095-1100 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1407-1412 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:998\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"255f92781057cde140be1117def4459be33084d111e8134f5dd620b94911c59a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:412-418 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:467-473 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:594-599 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:688-693 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:985-990 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:594\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"59511b95a7f5b678970b3b75761b83cfb83613b3c423134ee3ee61ef22c02fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:361-367 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:496-502 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:361-367 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:496-502 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:361\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8900d5b5fe3197ee34caed1223cedc258cab96f7121e3112a5edf382b1781c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1030-1036 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1041-1047 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1689-1695 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1700-1706 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"1596067f39581d7e3bc8515efcbca1aed2713136b47fab380f7fdaae053ddcd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): zio-json/shared/src/main/scala-3/zio/json/macros.scala:351-357 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:504-510 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:600-607 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9b1b17b3b6549a42c2531491e3a773a90d9d087e239d4d18f8c3535437b534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:494-500 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:489-495 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"d832ec484307b9a19c159ad61593849dafed1cc7360ac79d14a0f64697d8dfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:603-608 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:630-636 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:603\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"4619e76297b15f492f94d8423d23f49c112161fd5c8cf47de489a266b66a110b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1020-1026 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1679-1685 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb865258e7c2c92e8786977659bfbb21a094414b10025522e0e65d498f853db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala:391-397 | zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala:537-543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c26cc4cda87a0b770f90653f0aaeed804966e6d8224d5c4ccc3564adadb3b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:634-640 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1457-1463 \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 \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:634\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa7910c6ff6c16e53de1ae536216e0d15d19f274866853b274b688db1593cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:249-255 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1035-1041 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b4a6a7a69ecdd56fe4ab0d835da3493b504a9512f882e4f8dbfabebbe5a310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:265-271 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1051-1057 \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 \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"166803782a118b99cd105ef62c388c3c57dde7c0c42ad18911ed027f9c1a47a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 13): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:130-135 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:185-190 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:289-294 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:323-328 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:344-349 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:395-400 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:450-455 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:526-531 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:577-582 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:671-676 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:874-879 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:922-927 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:968-973 \u2014 all 13 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b628a08c53a818186c16ea12c9fe8cba13b13d4da9bb82b5075c90b3a23b3510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40-45 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:66-71 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:92-97 | zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:122-127 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40-45 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:66-71 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:92-97 | zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala:122-127 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"da329b99e84cdb5acd4037245fef42aa015e6fc3ceb0f07318ae985f659ff26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:637-642 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1041-1046 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1138-1143 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1460-1465 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1548-1553 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee743458bcfd3e1c9ac2ac9d3ea88b66f19b3ece7e52501c8e3d435801b62b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:268-273 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:650-655 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:744-749 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1054-1059 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1152-1157 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b876fe746fc757cce7e6044bdfbb0f1aeccd84cbe80cd180b97136a80f5399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/FastStringWrite.scala:60-65 | zio-json/js/src/main/scala/zio/json/internal/FastStringWrite.scala:69-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zio-json/js/src/main/scala/zio/json/internal/FastStringWrite.scala:68\u0060 calls \u0060write\u0060 and \u0060zio-json/js/src/main/scala/zio/json/internal/FastStringWrite.scala:75\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/FastStringWrite.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d643d117d074ae77f295ac0f944d357cd5d4dc656b5b15f7474c6b1abd55722a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:671-676 | zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:716-721 \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 \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:671\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ed13ececf153d7233a92ad73edf6b5dad717eb90f28a78302c140cde3c7c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:640-645 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:690-695 \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 \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:640\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"06289072b1b8a54fe76ce439eef11c7c2652686b31d2f5dfa3f3d37bdd8bf019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:583-588 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:610-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:583\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"453ed6835772a222393ce967ce574ed99c3b6a3d44bb71ad3341e14e1d46be1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:838-843 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:864-869 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:838\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:862\u0060 calls \u0060encodeJson\u0060 and \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:836\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b90911e9f38310434d81138ae94b8175f4ce2ecce38c65129143ae2cb9465c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:661-666 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:697-702 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:661\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a41b1502929f7980b3b807ac10e61414da6b190343b33bd1633a4f6c3f34d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:737-742 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:766-771 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"38969c0d00185302307212486a741c35e238db53ad2996d53562988f6e4f04d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/writers.scala:79-84 | zio-json/shared/src/main/scala/zio/json/internal/writers.scala:87-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zio-json/shared/src/main/scala/zio/json/internal/writers.scala:86\u0060 calls \u0060write\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/internal/writers.scala:93\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/writers.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43194ab7074715091be014987cf27dde3e0fba0e5adc9941cd2994540238b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:130-134 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:166-170 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:185-189 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:289-293 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:344-348 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:378-382 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:395-399 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:450-454 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:526-530 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:560-564 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:577-581 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:671-675 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:874-878 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:922-926 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:955-959 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:968-972 \u2014 all 16 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:171\u0060 calls \u0060charAt\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:400\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dc3d3312a9d2c5f896e24eaf7c49ee64ac2134e686a8bafc76ef3f43c5992e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 14): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:522-526 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:685-689 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:743-747 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:937-941 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1253-1254 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1298-1299 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1350-1351 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:137-141 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:296-300 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:351-355 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:533-537 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:839-840 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:880-881 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:928-929 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d6a0e19112d573693dccf72375983d992484fc0bf1f016ced863699bf7c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:253-257 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:638-642 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:732-736 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1039-1043 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1140-1144 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:253\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":"zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b09dab2c6f586417358d3381f8e32c14b50709b8d70bd6bcc2f74aa9c92d877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:246-250 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:250-254 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b1c69d9bad7c006df13adda59dc35cabcd812a5a8d36be0b6a76f2e7f3ce46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:624-628 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:668-672 \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 \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:624\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"673790e7756f029b7868faa8152dd520ba5224b4dcc0f7d00e4152c8deee804b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:632-636 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:679-683 \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 \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:632\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9a468e4a8002499f775f51644cb3a290b250835ac021f74aec60ffa9933886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.13/zio/json/JsonDecoderVersionSpecific.scala:11-15 | zio-json/shared/src/main/scala-3/zio/json/JsonDecoderVersionSpecific.scala:13-17 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.13/zio/json/JsonDecoderVersionSpecific.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/JsonDecoderVersionSpecific.scala\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.13/zio/json/JsonDecoderVersionSpecific.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4001a3ca0623105b8e4142272f6f5c75e4e4fb78db4a3c6f66fbf5121234f5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala:11-15 | zio-json/shared/src/main/scala-3/zio/json/JsonEncoderVersionSpecific.scala:12-16 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/JsonEncoderVersionSpecific.scala\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bbbb46a5938f4f3f9b2c14eb8cc7fe02e05e80d4141b8af0bdaf5c1cb5c349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala:16-20 | zio-json/shared/src/main/scala-3/zio/json/JsonEncoderVersionSpecific.scala:17-21 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/JsonEncoderVersionSpecific.scala\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala:16\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":"zio-json/shared/src/main/scala-2.13/zio/json/JsonEncoderVersionSpecific.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87db04aa89ee12b66ba82115340b1d7f008b572305ffdec7c1c592aeabb10f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:819-823 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:835-839 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:819\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"537251ed81f720f3e91b8789268e981410829db4820d07579f1235227e2bb2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-3/zio/json/macros.scala:370-374 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:523-527 \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 \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala:370\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":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bb895f963ef2d5899968da8146ce53f36a539f057bd82f79faa507a53e2969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:648-659 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:601-612 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0873d792a5c3b43e54e3e65c63584e5a7120fff2e3d80fb173f1c89e223b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:771-775 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:725-729 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d55152478313d963aec4128d06f9f53491190c5f6ce1b0343803aebcb10b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala:777-781 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:731-735 \u2014 before extracting anything, compare \u0060zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 and \u0060zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 385 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa664d028fe26a5a619a2212e91ed1f4e35c5c664d56e09e451bf95c69b3d4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala:26-30 | zio-json/shared/src/main/scala-3/zio/json/JsonFieldDecoder.scala:26-30 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/JsonFieldDecoder.scala\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3f3a885952b07e8e3388f77a6b9f530373d8126e74ba737fbef03d4a2e597a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:986-991 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1645-1650 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"30500e59053d1c14102e2d78b67a91318a0a3fab398793a3f4182c6c033f28b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:994-1000 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1653-1659 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70a2f99cae76b4a0415aaa03934577097e90ef7eb24188890bae8457946c689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1003-1010 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1662-1669 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"a481276d926b595627ec6444f30989964f93db8f34896b7ac3a31c5aa7a237e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:1013-1017 | zio-json/shared/src/main/scala-3/zio/json/macros.scala:1672-1676 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala\u0060 and \u0060zio-json/shared/src/main/scala-3/zio/json/macros.scala\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5033c8d1166389325dadd9ed938f2096e7177dcbb95ff0e45132cf3c35ad4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1634-1638 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1209-1213 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e04f6604d48d0ae69d17f3000f991ddaecd2a2457c4d9f8ced7861cb4b53884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:673-677 | zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala:684-688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c1481a4b06258d5373f8a1608f3c3ba7acc409e573fbcf27a0746f2d825cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala:153-157 | zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala:162-166 \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 \u0060zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5dfa51eb7823447227bb80c090ef7734066b7f1817f7325a0f89414ba4a61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:263-269 | zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:395-401 \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 \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:393\u0060 calls \u0060StringMatrix\u0060 and \u0060zio-json/shared/src/main/scala-2.x/zio/json/macros.scala:261\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"720c392dad24b72346f2314fa6a850bfb46aabff61ecb6b86362c6f47af65cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:314-320 | zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:342-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c9f1e68f45a7cb37f19d0ba25b24606ea25e7e5707c73d17cb89e422cc4586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zio-json/shared/src/main/scala/zio/json/internal/lexer.scala:1613-1617 | zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala:1188-1192 \u2014 before extracting anything, compare \u0060zio-json/shared/src/main/scala/zio/json/internal/lexer.scala\u0060 and \u0060zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b192b17d6a6fbbeb9055d0ac5b84c5a8ba007925a6844505de660084c6370c81"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: zioJson: zioJson: abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"506f227efc0ccb1232790d24b693599092291a62280bf833b4c507ad2ded7b12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: zio-json/shared/src/main/scala-3/zio/json/macros.scala: zio-json/shared/src/main/scala-3/zio/json/macros.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in DeriveHelpers.buildProductDecoder at line 797. 1 of those changes was a fix/bug commit, and the other 1 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-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 04:35:47 \u002B00:00\u0027 --until=\u00272026-10-21 04:35:47 \u002B00:00\u0027 --full-history --no-merges -- zio-json/shared/src/main/scala-3/zio/json/macros.scala\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":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb415a7bb048474355b4ebe2c819771baf447e2ac83231e7d8b3f3e84952b1d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: zio-json/jvm-native/src/main/scala/zio/json/internal/SafeNumbers.scala, zio-json/js/src/main/scala/zio/json/internal/SafeNumbers.scala, zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/shared/src/main/scala/zio/json/internal/writers.scala, zio-json/shared/src/main/scala-2.x/zio/json/JsonFieldDecoder.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a53973b2e731e87817f783556cb2cbed9336e25f57ba9f695f8a7b6e90c61ee7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: zio-json/jvm/src/jmh/scala/zio/json/OrElseDecoderBenchmarks.scala, zio-json/shared/src/main/scala/zio/json/ast/JsonCursor.scala, zio-json/jvm/src/jmh/scala/zio/json/NestingDepthBenchmarks.scala, zio-json/jvm/src/jmh/scala/zio/json/ChunkDecoderBenchmarks.scala, zio-json/jvm/src/jmh/scala/zio/json/BooleanArrayReproBenchmarks.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2be247630284b7da855cd63e6c0ecde81efd5e2023020655391e62fcbe6ee5d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find how we can use \u0022both\u0022 for patch versions of 1.x releases \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":"project/BuildHelper.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1231a178a8844be9fcfd960a6ee8abe078e3431cb0e7624ba2cc682e2fed540f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove before next release \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":"project/BuildHelper.scala"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"851a8118224642d70a6d83fbaf5f994ed17bdefbc4eccacbd6391cbf7b2bd73f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a way to suppress the unused import 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":"zio-json-golden/src/main/scala/zio/json/golden/package.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4202df0adfc2ac5e881dde520cc46e1cf05a507ccd2bf76dfd1a1987c7adae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO aparo: Restore when it will be possible to define functions to transform object keys \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":"zio-json-macros/shared/src/main/scala/zio/json/jsonDerive.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"971800dff5a7d4820ddf33781f95c6a06c357cd125dd08f5269e794379bf50a7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Use Math.unsignedMultiplyHigh after dropping of JDK 17 support \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":"zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d88d9a480500a3f4ba8901c5879f7b741b6a45d664fddb4cc7da48382e0bae4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO a strategy where the constructor is inferred from the field names, only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03a3c36cda3136d22ac748937dd4bfabc4414bf22b78beb9d5d31d929ad219b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO a strategy where the constructor is inferred from the field names, only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-3/zio/json/macros.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d11fd6974a0b1ba871c92c46096330aa415d682e58f2399678ca7e50e7c191"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be more efficient to have a solution that didn\u0027t box \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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0626dddfe750824819f81523b5a4cea04cced9d9623f70ccd3360d3f77b033"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be more efficient to have a solution that didn\u0027t box \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":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6088f0df56b7347bd7f223273493fdec8905b59d148199e6c45beecd353b2e0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: add tests \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":"zio-json/shared/src/main/scala/zio/json/JsonEncoder.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c168b0b91e9ba72422645e12d6907718d9342dfd402fab1c9e3e7608f9ed2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need a variant that doesn\u0027t skip whitespace, so that attack vectors \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":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea75780a987d5a7e36f22c296d0f7928d5ea38e34b2c6ba06181b2cef626903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment after release of Scala Native 0.5.7 \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":"zio-json/shared/src/test/scala/zio/json/internal/SafeNumbersSpec.scala"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ee249823e63c47412bba4970996bdc28275b9b2db3e60baf90ed144e82fd8f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (16699 LoC, 249 module-visible types across 26 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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":"4268b90d356f26928e449494556f79283eabefe4c81b3a3dbe893c2cc8c0e4de"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","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":"fd41ff826fce69585bee016ee2a9f22c2cbd5b253bfe061671b23515b6413b4d"},"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":"5c2e5324ee0d40ac675d212e467ed590c576871919cc8789e115b5381b9252d8"},"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":"92bbaf2dbbc5dcd8406086b1c9d27bd7accb2c9808c4102a0f34c47cae029a4f"},"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":"c5f067e943989fd039ad70411013bf082a8588b9f38464ef16f66d6f48246c7e"},"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":"4b7e202a747bafbe73bbf7ea084e7030fb32220cd71da160ad3120cc66252a80"},"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":"a693593815c03c8924d91acc63def72bb58dfbd9dd45d36c9a0b63df57903e1a"},"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":"d169db4cb023bae2479772e6f4006bce22ad6d7a740abdec1bf961c8f8f2db92"},"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":"270db641e9fceafea09e18419fc9685c2c679a8e165bbff2e97b6a6ea0a6c76d"},"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":"d72f5e65200e5dc699b908646d208b108f12b07b088c346409cabcda2df14a23"},"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":"ad4d013ce05a3494f55f9162706af9c824b49e1f99e2feb54d5b050559ef78ab"},"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":"496c27cadc00fdf8d5ccf5fab8af38a870a1d79098bd70ea8ebba482ea8a3719"},"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":"cd5da8f691b1f3742279738755fc4946a2ebf8cb4e7017f2df4227ee04628063"},"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":"531eda94d6a4b5d954a73b9292f90f468131bdae16963437ddfcd4bb6fe00344"},"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":"f8ae707c00ba0d68a644ea449ad0c9b2b95d0df6e6fd374b3a91919581fa6398"},"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":"85bd1bf30983bf65609417b13af989a2863e6231c1be9efaa43e3417fd80011c"},"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":"3ef1d3d3ebd6d91dfe1f0dcb23bc71cfee891c3f0178b4f341b180919508d9d6"},"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":"5903c93a664ada176bee6598ba96e44f52f2d117f20e97a1dfdabae7caa07381"},"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":"4184cc3618fd6c80503490b390d321a05f477134cbb8416456636ac478fc7988"},"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":"93e82ef08cccdab6b48dfefe077390811ffd6cafdc848b3acf52a98e138756b7"},"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":"fd4961f2b624e64aad9c4952d1b44436060c99da2a0b3daf79e9f399f789bb70"},"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":"ecb657fcc1d28d7a4a91031f01b4726ce358e2de4c4c99a32aed3b337a4b7bb3"},"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":"12d7bb01a58ca616402b6ef5387d0e18c15a00439b2cc5e5a80511a0e50b5693"},"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":"bd944574659693951578903f9bd5429cfcfde86a8a09718ed1d35083976fe7cf"},"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":"9d4930353ba14e38ca861aeb61c731835e10641cc14f753d3ad5fb4fdb51c4e2"},"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":"d1c63df3def0e1a22f60f36e656a6649a346b36b45f57355aafdda73216a9edf"},"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":"821e063740b3942625fecdfcefcf5a1e9cd97c4468984a8b4834d29cb7d444ba"},"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":"597adf3a5d18cbeb3aa3509e867f4e40ad246526eee41f93506c1b25f12e4d04"},"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":"cde651630fe7bac80779eb1db327e13e20420c624b0c25f531899727978eea48"},"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":"13b34c6421628264cbbfbe5f8d52b552307c9b553d512ef696fccac0b5cbbbdf"},"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":"5a16cf5d293864902b817359036c0fc0742633f9a07de6de0a39303ee4d269d5"},"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":"f349ee2766cfb4b6ef9a65d41569d1800e74d2f93ddca188dadd9313f0bb7cba"},"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":"42b4687f319cbbd5e282f3e7386731668adef9f2c699c947c413ebaafa818f0b"},"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":"35c7f7d3d28e5ee0dabc58cd7a27927f3392f017b3898f6d6b1751c441e8abe1"},"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":"db9af1d3efe85cb3449a729c8fc2b08d9229136fe1568bcb6736c26174e6b52f"},"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":"379707d18d8baa101304c7ec946021849d79ef48053b0e99e1fc4d85ab8d0011"},"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":"dbf2628bf6d25bea723bc7d55a097e55486c228c80563713cd11de2383c44cb1"},"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":"160e2c022b6238ef52ff3ad183b76fd0a9989579e03525741548023e42401129"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c1b27f444ee9d48ae76463cfd1bb763c2d0286df94968144ab53792bf5c9449"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"b081c55a682b8aae2c09204f5250eb9545ff3b7b770dbb047e7b78d2f1078d33"},"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":"efb1418d94b4c57e06a30a1e16e2240b5d7b57fae885959d876e1fc2c3499842"},"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":"d37595b5eaa56839213ad06483225e5faa69f56c09806b566107044177250776"},"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":"1605775718c62496b5ef9a967ce6fe65c115febfb8264c316f4a72e91cffbb2d"},"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":"Orphaned files with no living knowledge: 13 of 44 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 44 of the 87 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: zio-json/shared/src/main/scala/zio/json/JsonCodec.scala, zio-json/shared/src/main/scala/zio/json/codegen/Generator.scala, zio-json/jvm/src/jmh/scala/zio/json/GoogleMapsAPIBenchmarks.scala, zio-json-macros/shared/src/main/scala/zio/json/jsonDerive.scala, zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala, project/NeoJmhPlugin.scala, zio-json/jvm/src/jmh/scala/zio/json/internal/SafeNumbersBenchmarks.scala, zio-json-interop-enumeratum/shared/src/main/scala/enumeratum/values/ZioJsonValueEnum.scala (and 5 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/JsonCodec.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d7f6b00b09955ecf9e05428a3899adaeed5c777d962ba96f23fac8c3a51a36"}},{"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":"zio-json/shared/src/main/scala/zio/json/codegen/Generator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c0ad91c439563afdd2a5b58673bc179405aba7e4809176ef387dc71d133c6c"}},{"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":"zio-json/jvm/src/jmh/scala/zio/json/GoogleMapsAPIBenchmarks.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93390f6122f833a205b39963743f0757151d4da6a47c87fd2afb1855e919e53c"}},{"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":"zio-json-macros/shared/src/main/scala/zio/json/jsonDerive.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8911e38d2edddf502f4ce647b0902a176243080bc0d599f23eaed99ac9ad6f0b"}},{"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":"zio-json/jvm/src/main/scala/zio/json/JsonDecoderPlatformSpecific.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd476425a5bc80e68f7a88fae8673b3d0859a49946c12424bab08b0e58e52c58"}},{"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":"project/NeoJmhPlugin.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb3e266305323a6089e51c44b96916bea03b3122162397151f3edf1b01d501d"}},{"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":"zio-json/jvm/src/jmh/scala/zio/json/internal/SafeNumbersBenchmarks.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bf24f9aae2a4db91a9593f9b95f141c9ea05c69c7c525baa200af57d260749"}},{"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":"zio-json-interop-enumeratum/shared/src/main/scala/enumeratum/values/ZioJsonValueEnum.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a5f86b372ed9d00f36767719f60eecd2e79b67b09815b1137a8fab980fb20c"}},{"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":"zio-json-golden/src/main/scala/zio/json/golden/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd2bea8d3d360c68f63f152e461ff23f76784d74a4e21f857405704592f6851"}},{"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":"zio-json/jvm/src/jmh/scala/zio/json/TwitterAPIBenchmarks.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72781f2d49d140f5c4e5b7899f25da3e8f9a970188fa800ca59b6c2b6dc9cabd"}},{"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":"zio-json/jvm/src/main/scala/zio/json/JsonEncoderPlatformSpecific.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4313ad196ae880ac5f2a53244a30b059005e43f6f59325cc05143d4c5039fdf0"}},{"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":"zio-json/jvm/src/jmh/scala/zio/json/GeoJSONBenchmarks.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99ae35375278673a9d60a975090a0a3db4d1e9f385e8ca031635058133780f5"}},{"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":"zio-json/jvm/src/main/scala/zio/JsonPackagePlatformSpecific.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"105916aa6e4e65cae2c9a02a2a4aabb1bad0b6b7b129de1ff27eeb1ca3360a3b"}},{"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":"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Java 14: .java-version declares Java 14 as this project\u0027s version file, and Java 14, a non-LTS release, superseded by Java 15 on 2020-09-15. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2020-09-15 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".java-version"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0e20f7d104c904f7a50225dc2baf3e36bf519973876d915e0e379fc7cdd51f"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 18: .nvmrc declares Node.js 18 as this project\u0027s version file, and Node.js 18, support ended 2025-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2025-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".nvmrc"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6648803ca1184d1b831cc0935c1131320f0ac2f71c390fad75199d5bf2e7db6"}},{"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":"zio-json/jvm/src/test/scala/zio/json/JsonTestSuiteSpec.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"13374dd31addcd1bc9075f4acd6ff60bb1e45f53a91d1d153978789dafcf53bd"}},{"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":"zio-json/shared/src/test/scala/zio/json/ConfigurableDeriveCodecSpec.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f4c2243cc41fe6bf7d8ddc979e535441a35034b44502814d2029c230c21bd9"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!zoneId.isInstanceOf[ZoneOffset] || zoneId.asInstanceOf[ZoneOffset].getTotalSeconds % 900 == 0\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b331dbed0c892a125e388489270121bb6d52351140d2bcc8ef4af1bcde8880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Math.abs(halfwayDiff) \u003E 1 || savedBitNum \u003C= 0\u0060 appears character-identically in 2 files \u2014 zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1de0b7f2d807c4a64d42976de8d3c4a466c070fd95a8f0b15f6152ccee4f82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch \u003E= \u00270\u0027 \u0026\u0026 ch \u003C= \u00279\u0027 \u0026\u0026 nanoDigitWeight != 0\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdfcf8c65e40c7d27d7b24334adae47b41c2913fa06927293d3e77073be5814"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch \u003E= \u00270\u0027 \u0026\u0026 ch \u003C= \u00279\u0027 \u0026\u0026 yearDigits \u003C 10\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4591fd5c44ed2d77e64a2d91da5b4564d79fe993b0af27606830a42d99a8cc39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch \u003E= \u00270\u0027 \u0026\u0026 ch \u003C= \u00279\u0027 \u0026\u0026 yearDigits \u003C 9\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ebf09d378e9a28eabddd4dec39f23531d1afa3aee081871382b31ff8ff028"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 != \u0027-\u0027 || ch1 != \u0027-\u0027 || ch2 \u003C \u00270\u0027 || ch2 \u003E \u00279\u0027 || ch3 \u003C \u00270\u0027 || ch3 \u003E \u00279\u0027 || ch4 != \u0027-\u0027 || ch5 \u003C \u00270\u0027 || ch5 \u003E \u00279\u0027 || ch6 \u003C \u00270\u0027 || ch6 \u003E \u0027\u2026\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654d52af2ca0e9df1591101987ee47523eba0ec7c0da4bf96634d2c0cc2c7b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c310cc9a6d84268dbd0d37770069ca54b472a46b6f522a8b1918c3adc5d113"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || ch0 \u003E \u00275\u0027\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c104c25d88aef3f9ff537f1e8784dd3ed3352a25baec14f9ce82986041d90880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || ch2 != \u0027-\u0027 || ch3 \u003C \u00270\u0027 || ch3 \u003E \u00279\u0027 || ch4 \u003C \u00270\u0027 || ch4 \u003E \u00279\u0027 || ch5 != \u0027T\u0027 || day == 0\u2026\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3b4855ef7ece41cc2e45eb3b5c0e3a2a401bcd64b4139aba304fad72287fd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || ch2 != \u0027-\u0027 || ch3 \u003C \u00270\u0027 || ch3 \u003E \u00279\u0027 || ch4 \u003C \u00270\u0027 || ch4 \u003E \u00279\u0027 || ch5 != \u0027T\u0027 || month \u003C \u2026\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"35be5c6813d818123263ca1e39a3429c0a745313384ac0bf4e4ab8851adfcd78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || ch2 != \u0027-\u0027 || ch3 \u003C \u00270\u0027 || ch3 \u003E \u00279\u0027 || ch4 \u003C \u00270\u0027 || ch4 \u003E \u00279\u0027 || month \u003C 1 || month \u003E 1\u2026\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ff379cd815f7069f73dee05ea366ac9e4468ab6c8f1648506a2c59a207fd1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || ch2 != \u0027:\u0027 || ch3 \u003C \u00270\u0027 || ch3 \u003E \u00279\u0027 || ch4 \u003C \u00270\u0027 || ch4 \u003E \u00279\u0027 || ch3 \u003E \u00275\u0027 || hour \u003E 23\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1eff8201268edc15e4df2b12a6d7425034315fce686c341b1a11b05404dee1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch0 \u003C \u00270\u0027 || ch0 \u003E \u00279\u0027 || ch1 \u003C \u00270\u0027 || ch1 \u003E \u00279\u0027 || month \u003C 1 || month \u003E 12\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b513c7f0218e1e9ab4e366067c57cfe13819da7ea0e9c8c23ee15889b0309eb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060consume \u0026\u0026 current != -1 || !consume \u0026\u0026 current != \u0027\u0022\u0027\u0060 appears character-identically in 2 files \u2014 zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e2ee35cfb10191afbc2d65d89ff12e0ec460821d5b2fea530b6055f874340"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060in.readChar() == \u0027u\u0027 \u0026\u0026 in.readChar() == \u0027l\u0027 \u0026\u0026 in.readChar() == \u0027l\u0027\u0060 appears character-identically in 3 files \u2014 zio-json/shared/src/main/scala-2.x/zio/json/macros.scala, zio-json/shared/src/main/scala-3/zio/json/macros.scala, zio-json/shared/src/main/scala/zio/json/JsonDecoder.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f6947a3035afffe8577d9c9332fef48e14661899713af5902560071cbfac83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPrecedingLowerCased || i \u003E 1 \u0026\u0026 i \u003C len \u0026\u0026 isLowerCase(s.charAt(i))\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala-2.x/zio/json/macros.scala, zio-json/shared/src/main/scala-3/zio/json/macros.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf408aec66ae51f94f4e39b3f978a13edba52db101a5965f9537753dbfc1ace5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPrecedingNotUpperCased || i \u003E 1 \u0026\u0026 i \u003C len \u0026\u0026 !isUpperCase(s.charAt(i))\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala-2.x/zio/json/macros.scala, zio-json/shared/src/main/scala-3/zio/json/macros.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3478e78331dd286adf9061c69e6d6cc37397a16ce46ba2834ea1cefe4c57cab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060loM10 \u003C 4294967296L \u0026\u0026 e10 \u003E= loDigits - 23 \u0026\u0026 e10 \u003C= 19 - loDigits\u0060 appears character-identically in 2 files \u2014 zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"daadc8461406679f4c371dd6bdfb3d6911373fb8d35f27fa3a3c8cdee8f9d9ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060loM10 \u003C 4503599627370496L \u0026\u0026 e10 \u003E= -22 \u0026\u0026 e10 \u003C= 38 - loDigits\u0060 appears character-identically in 2 files \u2014 zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala, zio-json/jvm-native/src/main/scala/zio/json/internal/UnsafeNumbers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/js/src/main/scala/zio/json/internal/UnsafeNumbers.scala"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0627ecac759dc15fbcceb77e2e566ba162057dac5189e5fb5dbb0be9d13e32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.indexOf(\u0027_\u0027) == -1 \u0026\u0026 s.indexOf(\u0027-\u0027) == -1\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala-2.x/zio/json/macros.scala, zio-json/shared/src/main/scala-3/zio/json/macros.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala-2.x/zio/json/macros.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7bb0dffc537fd0e5d6d93538bef75b452370fabc9a95fbbc92534610497cd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003C -106751991167300L || x \u003E 106751991167300L\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd93af08569cc74848670301fcd06d6e8a1af9d7d9473d6fc6bd195029edc2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003C -153722867280912930L || x \u003E 153722867280912930L\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1452689bc4425284d9f0f87ee9d2f632c2267c317f22d01814f2556a24798bad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003C -2562047788015215L || x \u003E 2562047788015215L\u0060 appears character-identically in 2 files \u2014 zio-json/shared/src/main/scala/zio/json/internal/lexer.scala, zio-json/shared/src/main/scala/zio/json/javatime/parsers.scala. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/internal/lexer.scala"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eed591f24b79a25f00305023d90c77b1b1df88840f49949ee2942c1713fbf1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060JsonType.unifyTypes\u0060 is public and takes \u0060json: Json\u0060 from its caller, and it calls itself at line 211 with a piece of \u0060json\u0060, not as a tail call the compiler turns into a loop \u2014 and nowhere in \u0060JsonType.unifyTypes\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a walk like this one throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25), while \u0060ujson.read\u0060, Jackson\u0027s \u0060readTree\u0060 before 2.15 and circe before 0.14.16 accept any nesting (2,000,000 levels from 4 MB) and circe 0.14.16 accepts 4,096 \u2014 on a cold JVM even play-json\u0027s cap of 1,000 is past the point the walk fails. \u0060StackOverflowError\u0060 is not \u0060NonFatal\u0060: \u0060Try\u0060, \u0060case NonFatal(e)\u0060 and \u0060recover\u0060 do not stop it, and in a \u0060Future\u0060 on the global execution context it leaves the future forever incomplete. Thread a depth argument through \u0060JsonType.unifyTypes\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zio-json/shared/src/main/scala/zio/json/codegen/Generator.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67bb801ce7b5b6d1890c7a39ae4e466e680312a248ff1e111ba3e39cce101d"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 71 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":47,"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."]}]}