Branch Coverage

blib/lib/Dist/Zilla/Role/InsertVersion.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
57 8 8 if $release_version ne $version
62 0 16 if ($content =~ /\x{23} VERSION/ and eval { do { require Dist::Zilla::Plugin::OurPkgVersion; 1 } }) { }
67 0 0 if $content eq $orig_content
70 0 0 $trial ? :
0 0 ($self->zilla->is_trial xor $trial) ? :
80 4 12 if $content eq $orig_content
83 3 9 ($self->zilla->is_trial xor $trial) ? :
88 8 4 $replaced == 1 ? :
0 12 !$replaced ? :
100 8 8 if $release_version ne $version