HTML reporting. Percentage thresholds are color-coded and configurable
via -report_c0 <integer>, -report_c1 <integer> and -report_c2 <integer>.:
|html_basic||HTML reporting with syntax highlighting if PPI::HTML or Perl::Tidy module is detected. Like html|html_minimal reporting, percentage thresholds are colour-coded and configurable.|
|text||Plain text reporting.|
|compilation||Like text but hacked to give a minimal output in a format similar to that output by Perl itself so that its easier to step through the untested locations with Emacs compilation mode.|
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 the -select, -select_re, -ignore, and -ignore_re options to report on specific files. -select and -ignore are interpreted as shell globs; -select_re and -ignore_re are interpreted as regular expressions.
Specify -coverage options to report on specific criteria. By default all available information on all criteria in all files will be reported. Available coverage options are statement, branch, condition, subroutine, pod, and default (which equates to all available options). However, if you know you only want coverage information for certain criteria it is better to only collect data for those criteria in the first place by specifying them at that point. This will make the data collection and reporting processes faster and less memory intensive. See the documentation for Devel::Cover for more information.
If you want all *except* some criteria, then you can say something like -coverage default,-pod.
The -test option will delete the databases and run your tests to generate new coverage data before reporting on it. Devel::Cover knows how to work with standard Perl Makefiles as well as Module::Build based distributions. For detailed instructions see the documentation for ExtUtils::MakeMaker at <https://metacpan.org/module/ExtUtils::MakeMaker> or for Module::Build at <https://metacpan.org/module/Module::Build> both of which come as standard in recent Perl distributions.
The -gcov option will try to run gcov on any XS code. This requires that you are using gcc of course. If you are using the -test option will be turned on by default.
The following exit values are returned:
0 All operations were completed successfully.
>0 An error occurred.
With the -test option the exit status of the underlying test run is returned.
Did I mention that this is alpha code?
See the BUGS file.
Copyright 2001-2015, Paul Johnson (firstname.lastname@example.org)
This software is free. It is licensed under the same terms as Perl itself.
|perl v5.20.3||COVER (1)||2015-09-19|