{"$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":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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"]},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"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":"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":"D1","level":"warning","message":{"text":"JTACMonthView.scrollViewWillEndDragging (cyclomatic 32): JTACMonthView.scrollViewWillEndDragging has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACScrollViewDelegates.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"81be6c4bce7037fc2b4708ee2544927dfe55bf7ef224f30a3fd725c848fb3506"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.scrollToSegment (cyclomatic 30): JTACMonthView.scrollToSegment has cyclomatic complexity 30 (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/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06706a8362edf732fb102c7f0523623bb351bbed71ca45d32f70e320ca73f94"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.indexPathOfdateCellCounterPath (cyclomatic 22): JTACMonthView.indexPathOfdateCellCounterPath has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76107fc60021a97d2450eeb321b5987ecf9ad2186cea6b2db54fccfe90ee68c"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.selectDates (cyclomatic 19): JTACMonthView.selectDates has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd4acfc28e7aa48a4bb620cb1de8fe883a8d7782f80e89c4d10816f76b85d66"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.reloadDelegateDataSource (cyclomatic 17): JTACMonthView.reloadDelegateDataSource has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthActionFunctions.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354dcc4de2b791923fe05e4d88bf8367060d27a325bf419b9e1fc3ece69851f"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.targetPointForItemAt (cyclomatic 17): JTACMonthView.targetPointForItemAt 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/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c258db61c0bc37bda605b4153a8ea115832c0a77a06826e72349be272d54e8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"JTACMonthView.handleSelectionValueChanged (cyclomatic 16): JTACMonthView.handleSelectionValueChanged has cyclomatic complexity 16 (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/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd5a2e3ca116e256206fae3053923efb46c96b7b1e35ff167ed1d682af989c6"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthLayout.configureVerticalLayout (cognitive 56): JTACMonthLayout.configureVerticalLayout has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (49 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 40). 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/JTAppleCalendar/JTACMonthLayoutVerticalCalendar.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a277e77fff3853952446891f2bf9099cee0e521785cb2b0d69cfecf5c21ba20c"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthLayout.configureHorizontalLayout (cognitive 53): JTACMonthLayout.configureHorizontalLayout has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (46 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f6858e1bd0e6fc5c36d355d71aeb8d2d25f856f54a76652816e68ef7bb4e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.scrollViewWillEndDragging (cognitive 50): JTACMonthView.scrollViewWillEndDragging has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (23 pts), ternaries 7 (19 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 19). 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/JTAppleCalendar/JTACScrollViewDelegates.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d473b13ed1bb6de283315e5f72b996bb40968098868d2110608c65c50124a0"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.indexPathOfdateCellCounterPath (cognitive 42): JTACMonthView.indexPathOfdateCellCounterPath has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (36 pts), boolean chains 6 (nesting depth added 20). 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/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d4ec937256c5abc0c5be6b7b42d3bdaa71036b5cdbc46b6fe3dc71170374c"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.selectDates (cognitive 34): JTACMonthView.selectDates has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 6, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa21e65b46e8f197337dd184a107632b566d65331e9bbbd9117f02a86cf9c96"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.scrollToSegment (cognitive 34): JTACMonthView.scrollToSegment has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 4 (9 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6706976c9142dd735cd7c7d8f510d17251af5ad3e31331aecc221ccf51eb4e"}},{"ruleId":"D2","level":"warning","message":{"text":"JTAppleDateConfigGenerator.setupMonthInfoDataForStartAndEndDate (cognitive 33): JTAppleDateConfigGenerator.setupMonthInfoDataForStartAndEndDate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 20). 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/JTAppleCalendar/CalendarStructs.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d81414f3ef6693a1c04f0a5f4e9fd08a1f6db17d1eacd1327bab957623b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthLayout.sizeForitemAtIndexPath (cognitive 32): JTACMonthLayout.sizeForitemAtIndexPath has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 5 (13 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthLayout.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ad101ebe06155de2c8c72a1bde4aaa00331dcf04097a5a93f8bf4cb98a4629"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.targetPointForItemAt (cognitive 31): JTACMonthView.targetPointForItemAt has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 4 (5 pts), match/switch 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfbc12a54cf860db1d7f67cd3f338e9e9072d185213ab195654e920f6c7c2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthLayout.layoutAttributesForElements (cognitive 28): JTACMonthLayout.layoutAttributesForElements has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthLayout.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b983526c2dd20639556363bb21529654ba03924d95178dba64acc12806d28c"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.handleSelectionValueChanged (cognitive 22): JTACMonthView.handleSelectionValueChanged has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7b8995cbf0dc8491a02e71b7b5272aa174c3356e90e2f8bef7220bf424a75c"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.cellStateFromIndexPath (cognitive 19): JTACMonthView.cellStateFromIndexPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"319076c5e193c0b5b01678161fcc4e3ed6cf37a421ab66ec43d8eb9c8a02433b"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.requestedContentOffset (cognitive 17): JTACMonthView.requestedContentOffset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, match/switch 1 (2 pts) (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/JTAppleCalendar/JTACMonthView.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f3bbb706921f759ea35e6749ebd23417a0de6a77cd7f10baa496e6b24d750"}},{"ruleId":"D2","level":"warning","message":{"text":"JTACMonthView.reloadDelegateDataSource (cognitive 17): JTACMonthView.reloadDelegateDataSource has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthActionFunctions.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc22151e40e1c2cb36336b855a31966b9c02a33d65f3d47b2e2aa91ee451390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): Sources/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift:26-90 | Sources/JTAppleCalendar/JTACMonthLayoutVerticalCalendar.swift:27-97 \u2014 These two members are one piece of code written twice and then edited apart: 65 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/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd8634cd9ae21c4fda6a1898ded90ddcf8d36dc07d2ee1bd2588f5182e57678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift:57-66 | Sources/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift:69-78 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8a843a7fb477248c1daea943b6856301de5060b7e6ebf42c38dac4e0796fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift:403-407 | Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift:409-413 \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/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c955442fe3271ce986f9059457f2aa92006f69aa4f8ea262389c98f560ff5c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/JTAppleCalendar/JTACMonthCell.swift:52-58 | Sources/JTAppleCalendar/JTACYearView.swift:72-74 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/JTAppleCalendar/JTACMonthCell.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b26de1cf9be9a05e2aa84de0a034fed778f1418912a403f3a6997bf58aef3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift:46-57 | Sources/JTAppleCalendar/JTACMonthLayoutVerticalCalendar.swift:50-62 \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/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift:46\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. 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/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6908ac4106081798a3fc14c5fba2b41d85652ae4e779923961d2a56ceeb79715"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JTACMonthView (LCOM4 4): JTACMonthView\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/JTAppleCalendar/JTACMonthView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22999d79486b454139f4c2a563999ad25723d741f46e48f83b071554446072"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: 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":"SampleJTAppleCalendarUITests/SampleJTAppleCalendarUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea78835c4fda35c048830cc7be2759c740f80a27539723c86ac12c84ec349f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: 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":"SampleJTAppleCalendarUITests/SampleJTAppleCalendarUITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbc04272e382e35aa11020918a9cc371e25704c43eb9b440c8c1e244962c983"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: 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/JTAppleCalendarTests/JTAppleCalendarTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"63db3dbeab09d2ba0196882869159f122154a36588ca9e5d4baad72b1798ed91"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: JTAppleCalendarTests: No conventional assertion call was detected in 1 of 1 tests in \u0060JTAppleCalendarTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/JTAppleCalendarTests/JTAppleCalendarTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab54d7dc238423a43ff74ce925a14f60285f9b5bad64191e46c145ba8d7de27"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: SampleJTAppleCalendarUITests: No conventional assertion call was detected in 2 of 2 tests in \u0060SampleJTAppleCalendarUITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendarUITests/SampleJTAppleCalendarUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e2314982ba0670f201dbecbda83c084cf5a31a1ca2863be3e605436afaffe3"}},{"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. ADRs are expected here because \u0060SampleJTAppleCalendar.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907be954c5b51bdde77757a9a5f184ae54b048fc16da388906892b843fe5eec1"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 23 of 23 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 23 separate risks. Counted over 23 of the 32 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/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb831c6926bf79526537f81964d169ea33f9f1bd1ce72f04f48d8faae3671c8"}},{"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/JTAppleCalendar/JTACMonthLayout.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2da0a8f7c1cba434a0a8b75024a3748e54eab9935d168b0d2e0a75a04e779a"}},{"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/JTAppleCalendar/JTACMonthQueryFunctions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b7c92628041fa8f59f24e8dfd3232bf24268fe750db8860d5cd323f19f9c78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/CalendarStructs.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31650c6aa550054d07ecada798814f77821dc3398ec41d9baf5117220fa7ebdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar/Example Calendars/ViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478e12d1bfd47132efd37a61e8704ab4f3fd41a7476efd5820c47debeaaa118"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACScrollViewDelegates.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"432711dec2dd2177dc3d45445e45c37f260a43230b9c2dc30d671eec2e4e3c34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthActionFunctions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224504dd7247c8eb6b03a9c3640b11804d521eec8b2cb7c727febc51bca6effc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACCollectionMonthViewDelegates.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef338c31f773e602499868d3a567ed198a3ff4a5e7ba57359d63e851fe77abe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthViewProtocols.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202fb69118627c3fc4cfd307dbf7b36ef3c20f522157c8a49c6e45b9f4b46ad7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5182ca464c2eddf783fc55d4ffe49ea6f4a1050e5f4d4b8f7f137de8f061d02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar/Example Calendars/TestViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"755612d38296bf5770b4747ce91ac4683dc55d1d5be0ff34f44a6fd848dfa577"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd03d258f0f00866d43d11d3ec4470142db9c8dcbba72a442fdfac6d9900f732"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/CalendarEnums.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e5fbc1d1bca6c005d02c296b039c45543ccdfc3eaed97b9e74f1e1e6857ef6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar/Example Calendars/TestPersianCalendar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28ce1779e01bee99d13d9e32d62d1005d8f6b3c58dc80a7cb7c098b8723c8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthLayoutVerticalCalendar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2856fc64ce56f3ea7ce9208f1dc0c2e83b526e6f10fc19cd7f39d95e74c1567"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACVariables.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039f08fedbc7a198896758471f38cb1fd73e8bdec57d4cd618fa2f408fec0352"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar/Example Calendars/TestRangeSelectionViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67790bda0ee7e1abff07ce0b4dcfcee750f870d712e00cc48d0a61c3110e63e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24334e7bfdb299dd2df2d77f583d5f30c7aa3ae788ae1a7ca09b6919c99517b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACCollectionYearViewDelegates.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f122d3c5852187401fb07117fab5dbbefdbc3722959e8b9adf73852e5ef53fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SampleJTAppleCalendar/Example Calendars/TestYearViewViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06509af89816b33e845f60056917f92dfd37099683587b1b4d552229c9e5bfd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACYearView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadc6d7be02a1ab0c05ee1461f237c5b2cebb084dbc04ed4bd35f49e68158f9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/GlobalFunctionsAndExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d391ff013fab23abc321d1b440b3c324b445f85267a25a9eb0721d47043b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACDayCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e624a14d8cb6c7f7e8b3e364c0ca8f87f2a7df424a7097395b5a672b296c4069"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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 1 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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(firstDayOfDate \u003E= startOfMonthCache!) \u0026\u0026 (firstDayOfDate \u003C= endOfMonthCache!)\u0060 appears character-identically in 2 files \u2014 Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift, Sources/JTAppleCalendar/JTACMonthView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACInteractionMonthFunctions.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c6df1b71a3f05c993e89f247ec481412d1c562cd14fc1a10fe75389009aba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dayCounter == numberOfDaysInCurrentSection || dayCounter % maxNumberOfDaysInWeek == 0\u0060 appears character-identically in 3 files \u2014 Sources/JTAppleCalendar/JTACMonthCell.swift, Sources/JTAppleCalendar/JTACMonthLayoutHorizontalCalendar.swift, Sources/JTAppleCalendar/JTACMonthLayoutVerticalCalendar.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/JTAppleCalendar/JTACMonthCell.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1e8ee2854a7458bcdf79318443fc9cdd8584165bcdf561d85cb100190281a8"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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"}]}],"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."]}]}