{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ISOParser.parse (cyclomatic 43): ISOParser.parse 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":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1574d34713d60c0965137c3bb063c572413dde842ccc6fca84674633134bf04b"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.dateFormat (cyclomatic 38): Options.dateFormat 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":"Sources/SwiftDate/Formatters/ISOFormatter.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a1567c290bf2a840fb4f16543da14b673a23be2ca5eddfe63763b038c6bc7c"}},{"ruleId":"D1","level":"warning","message":{"text":"DateInRegion.compare (cyclomatic 35): DateInRegion.compare has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/DateInRegion/DateInRegion.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f84ad6f88016ea00f9d5a130dd4e85951da393aac2282e350448ded893be42"}},{"ruleId":"D1","level":"warning","message":{"text":"TimePeriodProtocol.relation (cyclomatic 28): TimePeriodProtocol.relation has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b531e593ed99697197c2997a764a4866ed35af593ba9b98ae6aa3e0de7aea3b"}},{"ruleId":"D1","level":"warning","message":{"text":"ISOParser.parse_digits_2 (cyclomatic 25): ISOParser.parse_digits_2 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":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3caad5b6c3afa448519bf5601730ed53636dcbc1812bfbc0890b77c44ade694"}},{"ruleId":"D1","level":"warning","message":{"text":"ISOParser.parse_digits_4 (cyclomatic 17): ISOParser.parse_digits_4 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":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0703e060910d07bff52ede27369e1f0c93cf1720f22ad80e13ae79f0ccbc7896"}},{"ruleId":"D2","level":"warning","message":{"text":"ISOParser.parse (cognitive 83): ISOParser.parse has cognitive complexity 83 (threshold 15). Drivers by points: if/else 28 (68 pts), match/switch 3 (7 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 45). 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":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801861a1051ed8da63ba53839a7bd30b7269be84366ccc5c6b206b55644ffaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.dateFormat (cognitive 76): Options.dateFormat has cognitive complexity 76 (threshold 15). Drivers by points: if/else 35 (64 pts), boolean chains 12 (nesting depth added 29). 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/SwiftDate/Formatters/ISOFormatter.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"db12bd70fa87a9ebbd7b79b74cd34047d280275cfcfea8b1706136981c05ffdd"}},{"ruleId":"D2","level":"warning","message":{"text":"ISOParser.parse_digits_2 (cognitive 54): ISOParser.parse_digits_2 has cognitive complexity 54 (threshold 15). Drivers by points: if/else 26 (50 pts), match/switch 2 (4 pts) (nesting depth added 26). 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/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82b2c851361d30d15ebec2524a4a7bf69ea13fe3344cec6f1482b24b3a47725"}},{"ruleId":"D2","level":"warning","message":{"text":"ISOParser.parse_digits_4 (cognitive 28): ISOParser.parse_digits_4 has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b2b2b1e072fb82a19f972fad1a49d1925564ab33c883b0bf24b0c3b4f37db"}},{"ruleId":"D2","level":"warning","message":{"text":"TimePeriodProtocol.relation (cognitive 27): TimePeriodProtocol.relation has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, boolean chains 12. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bb93f0951a1ac67ebec737d2b0d8327f716fba453116c12c14aafb15fef14f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Int.days: MethodTooLong \u2014 days runs 510 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 410 over it, 5.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd8a05d7f5844cd7635b848c164558d2f36f38818a92d0add23be0aa8ed179"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Int.weeks: MethodTooLong \u2014 weeks runs 510 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 410 over it, 5.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"de89e7506c362bf7018c9b4ed9df910c90aac97df4ca60c2fcf4d8ff16880a9f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DateInRegion: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"Sources/SwiftDate/DateInRegion/DateInRegion.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc91e156900eff4240005321379a6a57b97d7a1d191fe4d52cd669ed57eee97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Locales: ClassTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 323 over it, 1.81\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":"Sources/SwiftDate/Supports/Locales.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb5f707a6144aefeebac93fae8523cfb4b3b1ce91236cfd8441350ff6caac5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Supports/Locales.swift: FileTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Locales (28-757). The bar is 500 significant lines; this is 229 over it, 1.46\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Supports/Locales.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21470d280a5aa90509460752467314187956340cb38965b34467b26c45a6bf71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Date: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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":"Sources/SwiftDate/Date/Date\u002BCompare.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca75b5cc6c93dacfee8945abc1f508c1ecc576ebceae8f36feacbc37192046c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ISOParser: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 110 over it, 1.28\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":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf9854a910c1c2f7e409994f43bf4e8b14ff743901d8909788d996aefbb896b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ISOParser.parse: MethodTooLong \u2014 parse runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9e3d85e6d525db5cae8a2465019f346aaf50eb8ebe14bef83565855c106663"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Zones: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 36 over it, 1.09\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":"Sources/SwiftDate/Supports/Zones.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f1cb8a6dfcafe96fbfc1ab359508645ada2bf85c5dce7d5f99475e1ed9cfa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Formatters/ISOParser.swift: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ISOParser (65-932). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392e8b1e2f584204e961d9c1d3f710c2cce50bec0a67db557a74975f04a62e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/SwiftDate/TimePeriod/Groups/TimePeriodChain.swift:31-43 | Sources/SwiftDate/TimePeriod/Groups/TimePeriodChain.swift:53-65 \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/SwiftDate/TimePeriod/Groups/TimePeriodChain.swift:53\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":"Sources/SwiftDate/TimePeriod/Groups/TimePeriodChain.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7874bc5278171561c24f95012ea8780837751ba5b33c4b1c2514183782ea90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/SwiftDate/TimePeriod/Groups/TimePeriodGroup.swift:94-104 | Sources/SwiftDate/TimePeriod/Groups/TimePeriodGroup.swift:105-115 \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":"Sources/SwiftDate/TimePeriod/Groups/TimePeriodGroup.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a318ddb62b48388caffbd0a71f4dee240881cc8ef41f5b9fdf6c7b7fefcc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/SwiftDate/Date/Date.swift:106-115 | Sources/SwiftDate/DateInRegion/DateInRegion.swift:150-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060hour\u0060 to \u0060Int\u0060 in one and \u0060Int = 0\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Date/Date.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b737bd06e3a3ac455485bff90b7a1d764b23a58e58d4f7c8c8f227c0a46a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/SwiftDate/DateRepresentable.swift:387-395 | Sources/SwiftDate/Supports/TimeStructures.swift:31-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SwiftDate/DateRepresentable.swift:387\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/SwiftDate/DateRepresentable.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd69c8bf636e7926bf30dc78294248540fcab71e4d1c9e4cf8fb00c0b347fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift:82-90 | Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift:97-105 \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/SwiftDate/TimePeriod/TimePeriodProtocol.swift:82\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"147b6ec27dcfe42898e85eaaabb97f506876a2158b8aa6c35259f2f11edda614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/SwiftDate/Date/Date\u002BCreate.swift:21-27 | Sources/SwiftDate/DateInRegion/DateInRegion\u002BCreate.swift:77-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060list\u0060 to \u0060[Date]\u0060 in one and \u0060[DateInRegion]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Date/Date\u002BCreate.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6869be3b0f720d1ff85dde035f43918fc9521f2a2fbdf01bcf7f5158db50641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/SwiftDate/Date/Date\u002BCreate.swift:70-74 | Sources/SwiftDate/DateInRegion/DateInRegion\u002BCreate.swift:122-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Date/Date\u002BCreate.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc58ddab5fbd1611f8fc49fa7e1fc9b8c241ab5f478bb3d397638e74ae4f29f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Date (LCOM4 13): Date\u0027s methods fall into 13 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 13 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/SwiftDate/Date/Date\u002BCompare.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094f2b59f56208ff50bb27c1ac570c6acbe2a5dacbd8b3a498be4981c5af1e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 7): String\u0027s methods fall into 7 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 7 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/SwiftDate/Foundation\u002BExtras/String\u002BParser.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c57dae0607445f72a3fd9d486f16622024cf98fb9cd8bf4c7d7525661039e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DateComponents (LCOM4 5): DateComponents\u0027s methods fall into 5 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 5 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/SwiftDate/Foundation\u002BExtras/DateComponents\u002BExtras.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a0099532cda60a5280f9adbfd099319462d925cbe5dd07ff81cb28087709b9"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 Swift suite: Coverage NOT MEASURED: the Swift half could not be measured \u2014 the Swift suite in . produced no coverage export. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDifferencesBetweenDates: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestDate.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"219b0c6145ce826d88fb6bfe0ebb0fbae3b2b1b345df7919906fbddcdd5a6e4f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDifferenceBetweenDates: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestDate.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"52040fcd07cbca125ff279fcf5aa02b99e09a4ef70c3253f6c405c5424ab54c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDateInRegion_EnumerateDates: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestDateInRegion\u002BCreate.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"940ca45c17791890b92e4bddacd4c929db798d2018793619c9944436ca91b11f"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testDateInRegion_Hash: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/SwiftDateTests/TestDateInRegion.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7478dcc735534df73b911bc6bd58eeb51d5d938118efc4820d555f154b9e88"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDateInRegion_InitStringAutoFormat: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestDateInRegion.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6cb1a6fa58e153e0c34aaa989184faffe21781621980c6a65792b42358003b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDotNETFormatter: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestFormatters.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c9a77464536524e3c71343be279ba744d89843ad6b9e280c663c08d3a90b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRSSFormatter: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestFormatters.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b194ea418ec3be6e4d1c16908168d08d047a1d0849b738fbad7a57c151f05"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRSSAltFormatter: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestFormatters.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4de0c796dac3e5683475c3e2a5169a541fd78b8b2ce912a2846f38cca39781"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSQLFormatter: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestFormatters.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48c36d3b871b557107e3f464718ef7d441e06df11a697b986a070d5415a132"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testISOFormatter: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestFormatters.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9619245d0954816e9baf11392862035d138fb4f08fd7c74fee53c91ae183a0f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/SwiftDateTests/TestRegion.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c51838db65a5dbb3fe2b2a42c71a7b072eb6ea6fc067dc89665e40a1e0306"}},{"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":"D22","level":"warning","message":{"text":"Duplicate functionality across types. \u0060SwiftDate\u0060 (likely a namespace or singleton type) and \u0060DateFormats\u0060 both expose a \u0060resetAutoFormats\u0060 method. Since \u0060DateFormats\u0060 also holds the \u0060autoFormats\u0060 property, the method on \u0060SwiftDate\u0060 is redundant or implies a global state that should be encapsulated within \u0060DateFormats\u0060.: Remove \u0060SwiftDate.resetAutoFormats()\u0060 and ensure all auto-format configuration is handled exclusively through the \u0060DateFormats\u0060 type. (signatures: SwiftDate.resetAutoFormats() | DateFormats.resetAutoFormats())"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91e1f5420d084e45a8f084b14cf9417b5a5fcfafab11fdfe3af4eccfa4bef645"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent parsing API surface. \u0060DateInRegion\u0060 constructors handle single and multiple format strings directly. However, \u0060DateFormats\u0060 exposes separate \u0060parse\u0060 overloads for single vs. multiple formats, and returns a standard \u0060Date?\u0060 instead of \u0060DateInRegion?\u0060, forcing the caller to handle region conversion separately or lose region context. This creates two different patterns for the same logical operation (parsing a string to a date with region awareness).: Unify parsing behavior. Either have \u0060DateFormats.parse\u0060 return \u0060DateInRegion?\u0060 to match \u0060DateInRegion\u0060 constructors, or provide a consistent \u0060parse\u0060 method on \u0060DateInRegion\u0060 that accepts a format string/array, removing the need for the \u0060DateFormats\u0060 static parse methods for basic usage. (signatures: DateInRegion.init(String, format: String?, region: Region) | DateInRegion.init(String, formats: [String]?, region: Region) | DateFormats.parse(string: String, format: String?, region: Region): Date? | DateFormats.parse(string: String, formats: [String], region: Region): Date?)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"780977e126304e12cbb87588c52b18a4c4e0e9e7e3f449aebe922f4e14333e3b"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant methods on wrapper types. \u0060Date\u0060 is a thin wrapper around \u0060DateInRegion\u0060 (or vice versa, depending on internal implementation, but they share identical signatures for \u0060past\u0060 and \u0060future\u0060). Having these methods on both types creates confusion about which type to use for simple time travel operations, especially since they return different types (\u0060Date\u0060 vs \u0060DateInRegion\u0060), requiring implicit/explicit conversion.: Consolidate time-travel methods (\u0060past\u0060, \u0060future\u0060) onto the primary domain type (\u0060DateInRegion\u0060) and remove them from the wrapper type (\u0060Date\u0060), or ensure they return the same type to avoid conversion ambiguity. (signatures: DateInRegion.past(): DateInRegion | Date.past(): Date | DateInRegion.future(): DateInRegion | Date.future(): Date)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"561014a2c1ea1db39a1542fc2c82053b2b86103687f5ae8dd07248ed184bd8e4"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 27 of 27 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 27 separate risks. Counted over 27 of the 34 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/DateInRegion/DateInRegion\u002BCreate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6ab48bea688e7baccb49561a743e405a7ef279a9b29ba8995a2dad2592ae67"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Formatters/ISOParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f6934ebe453324f19228868c37bbe81a7071d8bfcd050f97f6f0d4231f2ef"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SwiftDate/Supports/Locales.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d433a878be070c378bdd47f91e8bf3cf858bdecbb7a44316b2301eaf226a4707"}},{"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"}},{"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 1073 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":1,"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."]}]}