Branch Coverage

lib/VIM/Packager/MetaReader.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
101 0 0 unless -e $file
121 0 0 if -e $_
139 21 21 if blank($_)
141 10 11 if (/^=(\w+)(?:\s+(.*?))?$/)
143 7 3 if $2
154 10 0 if ($self->can($dispatch)) { }
239 1 1 if (/^"=VERSION ([0-9.]+)$/ or /^"\s*Version:\s*([0-9.]+)$/i)
260 2 0 if $_
274 3 4 if (/^ ($package_re) \s+ ([=<>]{1,2}) \s+ ([0-9.]+) /x) { }
1 3 elsif (/^($package_re)$/) { }
2 1 elsif (/^\|\s*(.*?)\s*\|\s*(\S+)/) { }
1 0 elsif (m[^git://]) { }