blib/lib/OPM/Installer/Utils/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
27 | 2 | 3 | if ($self->conf and -f $self->conf) { } |
1 | 2 | elsif ($self->conf) { } | |
35 | 3 | 1 | if (-f $dot_file and open my $fh, "<", $dot_file) |
38 | 0 | 9 | if $line =~ /\A\s*\#/ |
39 | 0 | 9 | if $line =~ /\A\s*\z/ |
44 | 6 | 3 | if ($key eq 'repository') { } |
3 | 0 | elsif ($key eq 'path') { } | |
48 | 1 | 2 | unless ("File::Spec"->file_name_is_absolute($value)) |