Branch Coverage

blib/lib/OTRS/OPM/Installer/Utils/Config.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
25 2 3 if ($self->conf and -f $self->conf) { }
1 2 elsif ($self->conf) { }
33 3 1 if (-f $dot_file and open my $fh, '<', $dot_file)
36 0 9 if $line =~ /\A\s*\#/
37 0 9 if $line =~ /\A\s*\z/
42 6 3 if ($key eq 'repository') { }
3 0 elsif ($key eq 'otrs_path') { }
46 1 2 unless ('File::Spec'->file_name_is_absolute($value))