Branch Coverage

blib/lib/Module/Extract/VERSION.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
96 0 11 unless (open $fh, "<", $file)
106 0 108 /^=cut/ ? :
0 108 /^=(?!cut)/ ? :
107 15 93 if $in_pod or /^\s*#/
111 82 11 unless /$version_pattern/x or /$package_block_pattern/x
115 7 4 if ($sigil) { }
124 0 11 if eof $fh and not defined $version
128 0 11 wantarray ? :
141 3 8 if ($rhs =~ /\h* qv \( \h* (['"]) ([0-9.]+) \1 \h* \)/x)
144 11 0 if (defined $Devel::Cover::VERSION)