Coverage
Simple coverage statistics collection for bash scripts to compute testing code coverage.
bashCoverage
Collect code coverage statistics for a code sample
Usage
bashCoverage [ --target reportFile ] thingToRun
Collect code coverage statistics for a code sample
Covert resulting files using bashCoverageReport
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
Reporting - work in progress
bashCoverageReport
Generate a coverage report using the coverage statistics file
Usage
bashCoverageReport [ --help ] [ --cache cacheDirectory ] [ --target targetDirectory ] [ statsFile ]
Generate a coverage report using the coverage statistics file
This is a work in progress and is unfinished as of September 2025. Plans are to do this in another language.
Reads standard input
Accepts a stats file
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error