← Tools

cpl cover

list the lines and branches no input reached

usage: cpl cover <file.cp> [input]... [options]

Runs the program on every input and lists the lines no input reached and
each `if` that went only one way. A directory stands for its `.in` files;
no input at all means the cases in `<file>.tests/`.

options:
  --native         run the C++ of `cpl build` instead of the interpreter
  --format json    one JSON object: covered and uncovered lines, branches

Generated from cpl 0.2.2 (dev, a0d0078e).