Devel-Cover
view release on metacpan or search on metacpan
lib/Devel/Cover/Collection.pm view on Meta::CPAN
my $path = $collection->failed_dir;
Returns the path to the directory containing failure markers.
=head3 failed_file
my $path = $collection->failed_file($module_dir);
Returns the path to the failure marker file for a module.
=head3 dc_file
my $path = $collection->dc_file;
Returns the path to the C<dc> utility script.
=head2 Maintenance
=head3 compress_old_versions
$collection->compress_old_versions($num_versions_to_keep);
Compresses old coverage results, keeping only the specified number of most
recent versions for each module.
=head3 get_latest
$collection->get_latest;
Fetches and prints the latest CPAN release information using
L<CPAN::Releases::Latest>.
=head2 System Commands
=head3 sys
my $output = $collection->sys(@command);
Runs a system command, displaying the first portion of output immediately
and buffering the rest. Returns the output on success, empty string on
failure.
=head3 bsys
my $output = $collection->bsys(@command);
Like C<sys>, but buffers all output (no immediate display).
=head3 fsys
my $output = $collection->fsys(@command);
Like C<sys>, but dies on failure.
=head3 fbsys
my $output = $collection->fbsys(@command);
Like C<bsys>, but dies on failure.
=head1 EMBEDDED CLASSES
=head2 Devel::Cover::Collection::Template::Provider
A subclass of L<Template::Provider> that provides built-in templates for
HTML report generation. The following templates are available:
=over 4
=item * colours - CSS colour definitions
=item * html - Base HTML wrapper
=item * summary - Main index page
=item * about - About page
=item * module_by_start - Module listing by first letter
=back
=head1 DEPENDENCIES
=over 4
=item * Perl 5.42.0 or later (for builtin C<class> feature)
=item * L<Devel::Cover::DB>
=item * L<JSON::MaybeXS>
=item * L<Parallel::Iterator>
=item * L<Template>
=item * L<Time::HiRes>
=back
=head1 SEE ALSO
L<Devel::Cover>, L<http://cpancover.com>
=head1 AUTHOR
Paul Johnson E<lt>paul@pjcj.netE<gt>
=head1 LICENCE
Copyright 2014-2026, Paul Johnson (paul@pjcj.net)
This software is free. It is licensed under the same terms as Perl itself.
The latest version of this software should be available on CPAN and from my
homepage: L<https://pjcj.net/>.
=cut
( run in 0.810 second using v1.01-cache-2.11-cpan-71847e10f99 )