Branch Coverage

blib/lib/Dist/Zilla/Plugin/GitHubREADME/Badge.pm
Criterion Covered Total %
branch 37 48 77.0


line true false branch
69 13 1 if $self->phase eq "build"
74 1 1 if $self->phase eq "release"
80 0 14 if $self->phase eq "filemunge"
91 0 14 unless $repository
93 0 14 unless $repository_name
99 12 33 if ($badge eq 'travis' or $badge eq 'travis-ci.org') { }
0 33 elsif ($badge eq 'travis-ci.com') { }
0 33 elsif ($badge eq 'appveyor') { }
12 21 elsif ($badge eq 'coveralls') { }
1 20 elsif ($badge eq 'gitter') { }
12 8 elsif ($badge eq 'cpants') { }
1 7 elsif ($badge eq 'issues') { }
1 6 elsif ($badge eq 'github_tag') { }
1 5 elsif ($badge eq 'license') { }
1 4 elsif ($badge eq 'version') { }
0 4 elsif ($badge eq 'codecov') { }
1 3 elsif ($badge eq 'gitlab_ci') { }
1 2 elsif ($badge eq 'gitlab_cover') { }
0 2 elsif ($badge eq 'docker_automated') { }
1 1 elsif ($badge eq 'docker_build') { }
1 0 elsif ($badge =~ m[^github_actions/(.+)]) { }
0 0 elsif ($badge eq 'cpancover') { }
140 1 12 if ($self->place eq 'bottom') { }
150 13 0 if $self->phase ne "filemunge"