Files
ToastyFS/src
Claude 4b97b176bd Add branch coverage measurement for random simulation
This commit adds tooling to measure how many branches the random simulation
reaches during execution, which helps understand code coverage and identify
untested code paths.

Changes:
- Add coverage build target to Makefile with --coverage flags
- Create measure_coverage.sh script to build, run, and report branch coverage
- Add signal handlers (SIGINT/SIGTERM) to main_test.c for clean shutdown
- Update clean target to remove coverage files (*.gcda, *.gcno)

The script runs the simulation for a specified duration (default 5 seconds),
then uses gcov to analyze which branches were executed. In a 3-second run,
the simulation reaches approximately 32% of all branches (781/2431).

Usage:
  ./measure_coverage.sh [duration_in_seconds]

Example output shows per-file and total branch coverage statistics.
2025-11-13 19:35:06 +00:00
..
2025-10-29 21:46:17 +01:00
2025-10-28 17:24:25 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 00:47:56 +00:00
2025-11-09 14:12:19 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-11-13 20:21:26 +01:00
2025-10-28 17:24:25 +01:00
2025-10-28 17:24:25 +01:00
2025-11-10 15:07:38 +01:00
2025-11-10 12:41:18 +01:00