Branch Coverage

blib/lib/Sort/Versions.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
24 24 373 if ($A eq '-' and $B eq '-') { }
28 345 elsif ($A eq '-') { }
0 345 elsif ($B eq '-') { }
91 254 elsif ($A eq '.' and $B eq '.') { }
12 242 elsif ($A eq '.') { }
0 242 elsif ($B eq '.') { }
206 36 elsif ($A =~ /^\d+$/ and $B =~ /^\d+$/) { }
37 8 198 if ($A =~ /^0/ or $B =~ /^0/) { }
38 8 0 if $A cmp $B
40 32 166 if $A <=> $B
45 20 16 if $A cmp $B