- SEE ALSO
- COPYRIGHT AND LICENSE
Badge::Depot::Plugin::Coverage - Code coverage plugin for Badge::Depot
Version 0.0101, released 2016-02-17.
use Badge::Depot::Plugin::Coverage; my $badge = Badge::Depot::Plugin::Coverage->new(coverage => 87); print $badge->to_html;
Used together with Pod::Weaver::Section::Badges, in weaver.ini:
[Badges] ; other settings badge = Coverage
Set the code coverage percentage manually. Should only be used when Dist::Zilla::App::Command::coverh is not used.
Override the default image url. It is expected to have three
sprintf placeholders: Text, coverage percentage and color.
When used together with Dist::Zilla::App::Command::coverh, only include the badge if the latest coverage run was less than
max_age minutes ago.
Set a different badge text.
Erik Carlsson <firstname.lastname@example.org>
This software is copyright (c) 2016 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.