cover - report coverage statistics
cover -help -info -version -summary -report report_format -option option -file filename -coverage criterion -write [db] coverage_database [coverage_database ...]
Report coverage statistics in a variety of formats.
The summary option produces a short textual summary. Other reports are available by using the report option.
The following reports are currently available:
text - detailed textual summary html - detailed HTML reports
The following command line options are supported:
-summary - give summary report (default on) -report report_format - report format required (default none) -option - options for report -file filename - only report on the file (default all) -write [db] - write the merged database (default off) -coverage criterion - report on criterion (default all available) -h -help - show help -i -info - show documentation -v -version - show version
Any number of coverage databases may be specified on the command line. These databases will be merged and the reports will be based on the merged information. If no databases are specified the default database (cover_db) will be used.
The -write option will write out the merged database. If no name is given for the new database, the first database read in will be overwritten. When this option is used no reports are generated by default.
Specify -file options to report on specific files. Specify -coverage options to report on specific criteria. By default all available information on all criteria in all files will be reported.
The following exit values are returned:
0 All operaions were completed successfully.
>0 An error occurred.
Devel::Cover
Huh?
Version 0.19 - 29th September 2002
Copyright 2001-2002, Paul Johnson (pjcj@cpan.org)
This software is free. It is licensed under the same terms as Perl itself.
The latest version of this software should be available from my homepage: http://www.pjcj.net
To install Devel::Cover, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Cover
CPAN shell
perl -MCPAN -e shell install Devel::Cover
For more information on module installation, please visit the detailed CPAN module installation guide.