blib/lib/App/Kritika/Settings.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 5 | unless defined $rc_file |
29 | 0 | 5 | unless open my $fh, '<', $rc_file |
33 | 4 | 1 | unless ($settings->{'root'}) |
45 | 1 | 4 | unless ('File::Spec'->file_name_is_absolute($dirname)) |
50 | 5 | 0 | if $file ne '' |
53 | 0 | 5 | if $volume |
58 | 5 | 9 | if -f $location |
66 | 0 | 0 | if -f $location |
80 | 0 | 5 | if $line =~ /^\s*#/ |
81 | 0 | 5 | if $line eq '' |