Branch Coverage

blib/lib/Sys/Info/Driver/Linux/OS.pm
Criterion Covered Total %
branch 22 60 36.6


line true false branch
35 0 2 if (-e $tz_file) { }
0 2 elsif (-e $old_tz_file) { }
36 0 0 if (not -l $tz_file) { }
68 1 0 $model ? :
111 0 3 @args % 2 ? :
112 2 1 $opt{'long'} ? :
113 1 2 $opt{'edition'} ? :
124 0 9 if defined &Sys::Info::EMULATE
127 0 9 if $@
128 0 9 unless defined $id and defined $gid
134 0 2 @args % 2 ? :
138 0 0 if ($opt{'real'})
141 0 0 unless ($rv)
149 0 0 unless (eval {
164 0 20 if ($line =~ /\A domain \s+ (.*) \z/mosx)
179 1 0 if $line =~ / \A \# /msx
181 0 0 if not @junk or @junk != 6
182 0 0 if lc $junk[2] eq "swap"
184 0 0 unless $self->{'current_dir'} =~ /\Q$re\E/imsx
188 0 1 if @fstab > 1
193 0 1 $attr ? :
197 1 0 +(shift())->uname->{'machine'} =~ /64/msx ? :
232 0 0 unless -e $cmd and -x _
234 0 0 unless $raw
236 0 0 if not @raw or @raw < 2 or not $raw[1]
237 0 0 if ($raw[1] =~ /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/msx)
245 6 1 if $self->{'OSVERSION'}
257 0 1 $edition ? :
1 0 defined $build ? :
1 0 defined $build_date ? :