line execution checker

Line Execution Checker

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "line execution checker" with this command: npx skills add gadievron/raptor/gadievron-raptor-line-execution-checker

Line Execution Checker

Purpose

Fast tool to check if specific source lines were executed during test runs.

Tool: line-checker

Build

g++ -O3 -std=c++17 line_checker.cpp -o line-checker

Usage

Single line

./line-checker file.c:42

Multiple lines

./line-checker file.c:42 main.c:100 util.c:55

Output

file.c:42 EXECUTED (5 times) main.c:100 NOT EXECUTED util.c:55 EXECUTED (12 times)

Exit Codes

  • 0: All lines executed

  • 1: One or more lines NOT executed

  • 2: Error

Prerequisites

Coverage data must exist from prior test run with --coverage flag.

When User Asks

"Was line X of file.c executed?" or "Check if these lines were covered"

Steps

  • Verify .gcda files exist: find . -name "*.gcda" -print -quit

  • Build tool if needed: g++ -O3 -std=c++17 line_checker.cpp -o line-checker

  • Run: ./line-checker file.c:X

  • Report result to user

Example Interaction

User: "Was line 127 in parser.c executed?"

./line-checker parser.c:127

Output: parser.c:127 EXECUTED (3 times)

Response: "Yes, line 127 was executed 3 times during testing."

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

rr-debugger

No summary provided by upstream source.

Repository SourceNeeds Review
General

function call tracing

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-wayback-recovery

No summary provided by upstream source.

Repository SourceNeeds Review