Branch Coverage

blib/lib/Module/Extract/VERSION.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
66 0 8 unless (open $fh, '<', $file)
76 0 99 /^=cut/ ? :
0 99 /^=(?!cut)/ ? :
77 15 84 if $in_pod or /^\s*#/
82 76 8 unless / (? [\$*] ) (? (? [\w\:\']* ) \b VERSION ) \b .*? \= (? .* ) /x or / \b package \s+ (? \w[\w\:\']* ) \s+ (? \S+ ) \s* [;{] /x
107 4 4 if ($sigil) { }
116 0 8 if eof $fh and not defined $version
120 0 8 wantarray ? :
135 8 0 if (defined $Devel::Cover::VERSION)