528 B
528 B
Iteration 2 Walkthrough
- Baseline tests — Added 5 characterization tests for
calculateSequenceTimeSpan; coverage lifted from 85% → 100%. - Extract collectOccurrenceTimestamps — Removed timestamp gathering loop (complexity 10 → 6) while maintaining green tests.
- Extract findMinMaxTimestamps — Split min/max computation; additional unit tests locked behaviour (complexity 6 → 3).
- Quality outcome — Complexity −70%, package coverage 92% → 94%, three commits (≤50 lines) all green.