Prev | Code Coverage - Tales From the Trenches | Next |
perl -MDevel::Cover=-db,cover_db,-coverage,statement,time yourprog args
similar to use Devel::Cover qw( -db cover_db -coverage statement time )
-coverage criterion - Turn on coverage for the specified criterion.
Default statement, branch, condition and time
Others are path, pod, all, none
-db cover_db - Store results in coverage db (default cover_db).
-merge val - Merge databases, for multiple test benches (default on).
-summary val - Print summary information iff val is true (default on). -silent val - Don't print any output (default off).
-inc path - Set prefixes of files to ignore (default @INC). +inc path - Append to prefixes of files to ignore. -ignore RE - Ignore files matching RE. -select RE - Only report on files matching RE.
Slide 55 | YAPC::Europe::2003 | Copyright © 2003 Paul Johnson |