Branch Coverage

blib/lib/Sys/Linux/KernelVersion.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
21 2 1 if $linux_version
23 0 1 unless open my $fh, '<', '/proc/version'
27 0 1 unless close $fh
34 43 0 if ($spec =~ /^(\d+)\.(\d+)\.(\d+)(-\S+)?$/) { }
47 5 0 if ($line =~ /^Linux version (\S+) .*$/) { }
57 0 20 unless (defined $left->{'major'} and defined $left->{'minor'} and defined $left->{'revision'} and defined $right->{'major'} and defined $right->{'minor'} and defined $right->{'revision'})
88 10 9 if (_cmp_version($last_dev_rev, $version) != -1) { }
91 8 2 if $minor % 2