- SEE ALSO
- COPYRIGHT AND LICENSE
Badge::Depot::Plugin::Coverage - Code coverage plugin for Badge::Depot
Version 0.0102, released 2020-12-26.
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 coverage percentage. The percentage sign will be appended.
Erik Carlsson <email@example.com>
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.