Branch Coverage

blib/lib/Git/Version/Compare.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
75 1 105 unless defined $v
78 1 104 unless looks_like_git($v)
85 7 97 if defined $version_alias{$v}
91 2 95 if $v[-1] eq 'GIT'
92 16 81 if substr($v[-1], 0, 1) eq 'g'
95 21 76 if substr($v[-1], 0, 2) eq 'rc'