Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Check if specific lines were executed using gcov data
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 50% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -32% | 0% |
Fast tool to check if specific source lines were executed during test runs.
bashg++ -O3 -std=c++17 line_checker.cpp -o line-checker
bash# Single line ./line-checker file.c:42 # Multiple lines ./line-checker file.c:42 main.c:100 util.c:55
file.c:42 EXECUTED (5 times)
main.c:100 NOT EXECUTED
util.c:55 EXECUTED (12 times)Coverage data must exist from prior test run with --coverage flag.
"Was line X of file.c executed?" or "Check if these lines were covered"
.gcda files exist: find . -name "*.gcda" -print -quitg++ -O3 -std=c++17 line_checker.cpp -o line-checker./line-checker file.c:XUser: "Was line 127 in parser.c executed?"
bash./line-checker parser.c:127 # Output: parser.c:127 EXECUTED (3 times)
Response: "Yes, line 127 was executed 3 times during testing."
Other measured skills in the registry, with their headline benchmark lift.