Branch Coverage

blib/lib/Linux/KernelSort.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
78 16 103 unless ($version =~ /^\d+\.\d+\.\d+(-rc\d+)?(-git\d+)?(-scsi-misc\d+)?(-scsi-rc-fixes\d+)?(-mm\d+)?$/)
79 0 16 if ($$self{'debug'})
100 15 101 if ($self->version_check($version))
108 48 53 if ($version =~ /-rc(\d+)/) { }
116 20 81 if ($version =~ /-git(\d+)/) { }
123 1 100 if ($version =~ /-scsi-misc(\d+)/) { }
130 1 100 if ($version =~ /-scsi-rc-fixes(\d+)/) { }
137 37 64 if ($version =~ /-mm(\d+)/) { }
167 11 43 unless ($rank1 and $rank2)
168 0 11 if ($$self{'debug'})
170 3 8 if (not $rank1 || $rank2) { }
4 4 elsif (not $rank1) { }
188 67 42 if ($value1 == $value2) { }
23 19 elsif ($value1 < $value2) { }