Branch Coverage

blib/lib/Siebel/AssertOS/Linux/Distribution.pm
Criterion Covered Total %
branch 6 30 20.0


line true false branch
84 1 0 if ($distro = $self->_get_lsb_info)
85 1 0 if $distro
89 0 0 if (-f "$release_files_directory/$_" and not -l "$release_files_directory/$_")
92 0 0 if (-f "$release_files_directory/$_" and not -l "$release_files_directory/$_")
103 0 0 if (-f "$release_files_directory/$_" and not -l "$release_files_directory/$_")
106 0 0 if (-f "$release_files_directory/$_" and not -l "$release_files_directory/$_")
109 0 0 if ($release_files{$_} eq 'redhat')
113 0 0 if ($self->_get_file_info)
133 0 0 if $release = $self->_get_lsb_info('DISTRIB_RELEASE')
134 0 0 unless ($$self{'DISTRIB_ID'})
135 0 0 unless $self->distribution_name
147 1 0 if (-r "$release_files_directory/" . $standard_release_file)
151 1 0 if ($info)
163 0 1 unless open my $fh, '<', "$release_files_directory/" . $$self{'release_file'}
172 1 0 if $info