Branch Coverage

blib/lib/Module/Spec/V0.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
14 34 11 if $opts->{'REQUIRE'} // $opts->{'require'}->($m, @v)
15 27 16 if @v
16 10 24 wantarray ? :
23 25 6 unless ref $opts{'require'} eq 'CODE'
36 43 14 if ($opts->{'REQUIRE'} // $opts->{'require'}->($m, @v))
38 8 35 if ($@)
40 2 6 $err =~ /\ACan't locate\b/u ? :
43 33 16 if (@v)
45 15 18 if ($@)
47 12 3 $err =~ /\A\S+ version \S+ required\b/u ? :
50 10 24 wantarray ? :
77 0 0 if @v
79 0 0 if ($opts->{'context'} eq 'void') { }
0 0 elsif ($opts->{'context'} eq 'scalar') { }
0 0 elsif ($opts->{'context'} eq 'list') { }
90 0 0 if ($opts->{'wrap'})
91 0 0 if $opts->{'indent'}