{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"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":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"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":"D2","level":"warning","message":{"text":"ParsedFormat.init (cognitive 23): ParsedFormat.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/ParsedFormat.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbc6b471563ff1e192b7a8ff52a5be929fb82e9fc1f99d51fce4f12f939999c"}},{"ruleId":"D2","level":"warning","message":{"text":"Range.determineRelationship (cognitive 23): Range.determineRelationship has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (23 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":"Sources/Time/10-Relations/Relations\u002BRanges.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2673ff340313ca732b4b500faa42447eff6d7d1c5b08b15e6d6d7959d07ad20c"}},{"ruleId":"D2","level":"warning","message":{"text":"Fixed.roundToMultiple (cognitive 18): Fixed.roundToMultiple has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/Fixed\u002BInternal.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2725a8bb7113631507b5a2eb41f3048d9465b4ebb9893e056fd13f894eabd4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Fixed: TooManyMethods \u2014 185 methods, declared across 28 files: 6-Adjustments/Fixed\u002BUnsafeAdjustment.swift (28), 6-Adjustments/Fixed\u002BSafeAdjustment.swift (20), 11-Rounding/Fixed\u002BRounding.swift (16), Internals/Fixed\u002BInternal.swift (13), \u002B24 more file(s). The bar is 30 methods; this is 155 over it, 6.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"Sources/Time/4-Fixed Values/Fixed.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd27c92d1d311f935fa861de1ac7b0f30f72840cba1318615891c99507d2a9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/Time/2-Core Calendar/TimeError.swift:60-81 | Sources/Time/2-Core Calendar/TimeError.swift:112-135 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/2-Core Calendar/TimeError.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff390c7fafcf6eec552cdd5a927f9d0bf8b37d079b6b94635315bac467d750c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/Time/7-Sequences/Fixed\u002BSequence.swift:31-35 | Sources/Time/7-Sequences/Fixed\u002BSequence.swift:43-47 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/7-Sequences/Fixed\u002BSequence.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dbc0dee1fafc790732be954df0a36b283aa2df1663fc6342c2615b537f307e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:10-20 | Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:40-52 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e247c90a72a9dabe62213d7510442014521c2aff118c58549b2baca2323ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:82-90 | Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:107-116 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:15-23 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a27068ff33a552b6a6b008e30a614ebd47b420889330dcffc18188a8e1f79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:134-144 | Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:163-174 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:39-47 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:63-71 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:89-98 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:115-124 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:143-153 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1a713bd4042bb80c4d68970118f6b39f0b1f5c39dfe8213e7f50f71a42500"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Time/2-Core Calendar/TimeError.swift:83-96 | Sources/Time/2-Core Calendar/TimeError.swift:98-110 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/2-Core Calendar/TimeError.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cafc89d897314d2e8a9b37f0338b512814c6afa644387604592b550b101b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/Time/4-Fixed Values/Fixed\u002BInitializers.swift:76-79 | Sources/Time/4-Fixed Values/Fixed\u002BInitializers.swift:95-98 | Sources/Time/4-Fixed Values/Fixed\u002BInitializers.swift:115-118 | Sources/Time/4-Fixed Values/Fixed\u002BInitializers.swift:136-139 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BInitializers.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4865d900afb0384f65af0e1f134107b2eec622dd168e2407fe78dd997245ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Time/7-Sequences/Fixed\u002BSequence.swift:86-94 | Sources/Time/7-Sequences/Fixed\u002BSequence.swift:103-108 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/7-Sequences/Fixed\u002BSequence.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cdc4df50056de78325f65824266c27f1168e39a4b2dd6d5dee10ff301dea39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:59-66 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:14-21 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:36-43 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:58-65 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5352e8e29aafb47d2c99be478c4d111cace5cb8e340ba04da680d7b1dbd56f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:135-137 | Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:195-197 | Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:208-210 | Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:269-271 | Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:283-285 | Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift:296-298 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"017bb29a945229ec913dc387bb2e1f492ef256ad3d016af33a97f15f1d0d888f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Sources/Time/8-Formatting/PartialFormatting-3Units.swift:12-18 | Sources/Time/8-Formatting/PartialFormatting-3Units.swift:32-38 | Sources/Time/8-Formatting/PartialFormatting-3Units.swift:52-58 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:79-85 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-3Units.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f6d1283169a5deaa1b8d1bb43bbd20d882f7aa92fcbf6e32ac72cb0fb1d260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:69-77 | Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:100-108 | Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:131-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e67a4fd0cc5bb28281e732bbaab3b32b8b737df2d4a5f4052c21e2153fa81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/Time/4-Fixed Values/Fixed.swift:70-74 | Sources/Time/4-Fixed Values/Fixed.swift:90-95 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b808fb2931c117580e1e1f725e3d6965ae253af2ea511ea7facb603846f530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:39-44 | Sources/Time/8-Formatting/PartialFormatting-2Units.swift:28-33 | Sources/Time/8-Formatting/PartialFormatting-3Units.swift:71-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e880db57628f37d02e713ff85a65d284b5e5c09494d3f826ae5949a4b523f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Time/8-Formatting/PartialFormatting-2Units.swift:46-51 | Sources/Time/8-Formatting/PartialFormatting-3Units.swift:89-94 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-2Units.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b2b3442c640669f6ae2b88c097f713202fffa3203a25bcfd0702f85784edd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/Time/1-Core Types/Instant.swift:114-118 | Sources/Time/4-Fixed Values/Fixed\u002BCodable.swift:54-58 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/1-Core Types/Instant.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4eae75df7a5804e4bb753f1bd5a1b3f37c13aa181bec7052daca626e4f25a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:22-26 | Sources/Time/8-Formatting/PartialFormatting-1Unit.swift:50-54 | Sources/Time/8-Formatting/PartialFormatting-2Units.swift:11-15 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a5c7fc7adaee9249875fb8526ced0b37420d1eb0fe7b319f99c408a5fb1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Time/8-Formatting/PartialFormatting-1Unit.swift:89-92 | Sources/Time/8-Formatting/PartialFormatting-2Units.swift:63-67 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-1Unit.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b939065e92d0aacbca00f2b35305fa60ab43a4f715f3f02c5c5e4b942fd691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Time/8-Formatting/PartialFormatting-1Unit.swift:103-106 | Sources/Time/8-Formatting/PartialFormatting-2Units.swift:79-83 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-1Unit.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea529bfe1eb93250730a6e3ecd60182e5714a5d2b5813e523d93e3295e4650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Time/8-Formatting/PartialFormatting-1Unit.swift:117-120 | Sources/Time/8-Formatting/PartialFormatting-2Units.swift:95-99 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-1Unit.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b802de8c3df12579c135351ec43c58734ad04f2fad6adb8e0a480eff0162ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:165-172 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:116-122 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:144-151 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:165\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d12f9b8026414cfe4968299bdfb68e63ea89d48e3ed5d4b9e0968dcde559d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:135-142 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:90-96 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:135\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edfd383ed970618bc521d34c1d2364d4b1c00c88d19c42687af6115b36aadb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:107-113 | Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:134-140 | Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:163-169 \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 \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:107\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a470c6796ad1778f569058c6af335e8549221409d50110c37d389d9aaa8836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Time/8-Formatting/PartialFormatting-Others.swift:89-95 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:143-149 \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 \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift:89\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":"Sources/Time/8-Formatting/PartialFormatting-Others.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cfb6e095e50b2129831c248f53edee60041e8e24379c16212ebf55108251a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:166-172 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:64-69 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:116-122 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:145-151 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:166\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"99af919bd960a75bc145e31c734b05d9602d6149ea56178261425fc638b40dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:136-142 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:40-45 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:90-96 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift: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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc793fb856d22f9dcc616406ae94418a7a12a8edb445e7074226f54ad27e8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:108-114 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:16-21 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:108\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"302cd8f346cd54e3b6df50b87599eb62de0b9b9be86c732dcd19fbe89c1095c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:137-142 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:59-63 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:40-45 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:91-96 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:137\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cb26f5f04d7553713a2661528fd38262a77332537d54d290ac224c6f5e6cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:109-114 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:37-41 | Sources/Time/8-Formatting/PartialFormatting-Others.swift:16-21 \u2014 before extracting anything, compare \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift\u0060 and \u0060Sources/Time/8-Formatting/PartialFormatting-Others.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:109\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c42a5fef051149eb2cdbcad9421e776b2cc3240444704471be5fc38f1f8f882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:83-88 | Sources/Time/8-Formatting/PartialFormatting-4Units.swift:15-19 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift:83\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":"Sources/Time/8-Formatting/Fixed\u002BFormatTemplate.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e84b59d6820ff30e868eeee83b78937e3bde1fb50fb3acfa5214b781187817"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DateComponents (LCOM4 6): DateComponents\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/Time\u002BDateComponents.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3702f2ed62df8e94c609bd0c0ca631b2f3692b42cbd858d79842a7aa3e7fc899"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Calendar (LCOM4 4): Calendar\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/SimpleCache.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a8799f183800d615ad09b4ec016309ea17daf7e90f363f1d14adde96d3667"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/10-Relations/Relations.swift: 20.0% line coverage (1/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/10-Relations/Relations.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d43300e53a49421fce8c576e60684e28facab4bb0d36599e376bea259a1603"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/2-Core Calendar/TimeError.swift: 49.4% line coverage (42/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/2-Core Calendar/TimeError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54d99ff1371c95cb95db454fa28fed9b14cee7bba8dd1ea88d6777884113c42"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/2-Core Calendar/Units.swift: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/2-Core Calendar/Units.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69140d5ad89ee3d6d68c46339309918844e6eb019d48fad1c70a9d7a43b4b5d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/3-RegionalClock/RegionalClock\u002BCurrentValues.swift: 46.2% line coverage (12/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/3-RegionalClock/RegionalClock\u002BCurrentValues.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"464fdc61535fbba2cd170fbaecfca5c2423cefe04d5297bbf38a60ca2d46c156"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/3-RegionalClock/RegionalClock\u002BImplementations.swift: 33.9% line coverage (19/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/3-RegionalClock/RegionalClock\u002BImplementations.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496e1cbc77a3c80772f90a3f7ef282b9100238a2454d42698d775fbf6e7c40c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/3-RegionalClock/RegionalClock\u002BStrikes.swift: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/3-RegionalClock/RegionalClock\u002BStrikes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf625b5ed6c1b13110729e9c31dcec572d19ba6447c11e61e1d22ddd3d6a3fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/3-RegionalClock/RegionalClock.swift: 16.3% line coverage (7/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/3-RegionalClock/RegionalClock.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9532e0cb267e198603f37aa3fa0bec2f56f70fc7d53a290551b36c654088a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BConversion.swift: 25.0% line coverage (12/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BConversion.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91216a7b5ea49444ca938ec414d09ca83774542f7de6a09729686e772ea546"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BDay.swift: 20.0% line coverage (3/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BDay.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9a00a370ddfb9e09aeacf4d51935941de4f5bf037715fb73ed0440fdbacf66"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BEra.swift: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BEra.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b21532e466863bba0095c98c5e80b74f0df7450f8b09ffce9a7fbf51c39889f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BHour.swift: 28.6% line coverage (2/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BHour.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1ffdfbf96b52f1af83e28d3b4a0822ae21a2226b928679f4b88d803c56d50"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BMinute.swift: 28.6% line coverage (2/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BMinute.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8619eaa737074d81ad85aa9f7a72fdb29b0689745fcef82eb3a99177c99761"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/4-Fixed Values/Fixed\u002BYear.swift: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/4-Fixed Values/Fixed\u002BYear.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"739e4fc597e2996f3b25c676d0a7b43d3b222c817903a047da0275094569a80f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/5-Differences/Fixed\u002BTimeDifference.swift: 12.5% line coverage (3/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/5-Differences/Fixed\u002BTimeDifference.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89beecf4344dd0dd424fe020f33b144afc15478e1322288c5e29b943fbe92fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/5-Differences/TimeDifference.swift: 36.1% line coverage (22/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/5-Differences/TimeDifference.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c57bc801dad169edd5481e1a89503b36690341485a57a93270737db85cb6abf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/6-Adjustments/Fixed\u002BSafeAdjustment.swift: 26.1% line coverage (23/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/6-Adjustments/Fixed\u002BSafeAdjustment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c9510c8c5b4b4037c0b7fe5ab12713aabdb2f6eecca785e8389d0f901cd5cb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift: 4.1% line coverage (6/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/6-Adjustments/Fixed\u002BUnsafeAdjustment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e534507c0faf8171ce622e64089005ebed2aea9d118330f0325e0ce39a8c0418"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/7-Sequences/Fixed\u002BSequence.swift: 48.5% line coverage (32/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/7-Sequences/Fixed\u002BSequence.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0000780412ade5d076859d0a2cadaa4a71a6a1b54888f7d3c74a36b8789b4e5b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/Fixed\u002BFormatStyle.swift: 33.3% line coverage (4/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/Fixed\u002BFormatStyle.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e249321835ddbabb6aeb01b956ca1f148c4bca737100cf2f0f0facda4c058ab5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/PartialFormatting-1Unit.swift: 44.4% line coverage (12/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-1Unit.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382777b17df5bf3a398ba649342e108ab564833de479517d1ad9ac0f41dd3f60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/PartialFormatting-2Units.swift: 33.3% line coverage (6/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-2Units.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"507ee83c424a3e1606da95c532d02bf487e540ed38512c2d35e10f72e8015cb4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/PartialFormatting-3Units.swift: 20.0% line coverage (3/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-3Units.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea31857729c59c4f9b6ce5344aa2831bb92569f10a12303931ab63c64c96261e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/PartialFormatting-4Units.swift: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-4Units.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89265a9c2ba4825b416fbd728dd0d3eae13100190e3b7ec1aa03d7bd9d0d1adb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/8-Formatting/PartialFormatting-Others.swift: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/8-Formatting/PartialFormatting-Others.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e578a3f8aa9eeb5f478985eaf0a08bd9c37ac29a96568ba7aa49bcd231cf2578"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/9-Parsing/Fixed\u002BParsing.swift: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/9-Parsing/Fixed\u002BParsing.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c940468c02502619e748effb5468310f94461b4d21c263b895785b1c91018"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/Internals/Region\u002BEquivalence.swift: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/Region\u002BEquivalence.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a36847ff0cd8c3a072b4967f529936fae40856397fb6706917ee12ddefa2fe6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/Time/Internals/RegionalClock\u002BInternal.swift: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/RegionalClock\u002BInternal.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c44dd78195fbca985db50f0c3dee68fc98a7f5bc073b5ae0526a72789e79d4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPastStrike: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TimeTests/ClockStrikeTests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"554cd2ad91b2e5aa3bbe01d5e632c019c176648b6a3814f1ecf69957b2cac7e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFixedStrikeCancel: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TimeTests/ClockStrikeTests.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f6719e1ae2cd0b46ad596809fa8ce086e280c861ee29aade9ee1f0c7667df3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIntervalStrikeCancel: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TimeTests/ClockStrikeTests.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aa77ca36d2b8ca32e70742c5a2dc8233634caa38c49855759ff947b59c1932"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace @unknown after the \u0022isLeapMonth\u0022 issue is resolved \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":"Sources/Time/Internals/Time\u002BCalendarComponent.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b04dac58f730cc5f86a484b73fd501d400cd70decb719078a2923ba00634732"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: dayOfYear: https://github.com/apple/swift-foundation/blob/main/Proposals/0001-calendar-improvements.md"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/Time\u002BCalendarComponent.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2357282e5342c52553b551ec9ece3d9eb9ce9e276819c25b5dc319c9c75ac7d7"}},{"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":"22fcec408aaeec8606477e8b906ea30ff9f645e24c9df9ce86509e8dc2eafac1"},"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":"da7fd5abf64febecf6aa4c16c24c704e86cc86f30889525081bfaee79aafc66d"},"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":"1ddd4a3eacb5abc26b76d406ddb70aae9070bf3a368b86a2ade443eb3e11ee6d"},"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":"a2faf708a19c10bb6a3d6ec4bae6bcb9d1a57f2dd774f609f030cd152fa4fc9a"},"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":"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":"579180bd527775c5917bc54352dd5b193895401bccda27b258ff2012acd8df4d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-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":"91a0d3213d63bbf2ee92cd9773eb5b11896e7659b373fd1ef5cfc73526b568ce"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16306b945c4d23f63233ca9e436ca6f07b29beb9e894901775fc18bf267cb0a8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/tests.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/3-RegionalClock/RegionalClock.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b462b27f6386912ca53a28f60c6a7a8e5eebd2f91db99de4072f33feaf13a97"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/RegionalClock\u002BInternal.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def5f6865325764e5bc796516741505f996a98dd0c172128cc1c3999640c012"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Time/Internals/RegionalClock\u002BInternal.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd43d644964417ebdef757272de8b0f4bf4808c77e7e15158342ed7cb7af108a"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-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"}]}],"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":8,"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."]}]}