Branch Coverage

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


line true false branch
25 2 2 if ($self->conf and -f $self->conf) { }
1 1 elsif ($self->conf) { }
33 3 0 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))