| blib/lib/Bot/Cobalt/Frontend/RC.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 12 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 0 | 1 | unless $rcfile |
| 40 | 0 | 1 | unless my $rc_h = &try(sub { 'Bot::Cobalt::Serializer'->new->readfile($rcfile); } , &catch(sub { &$generic_crappy_err(); $rc_err = $_; undef; } )) |
| 42 | 0 | 1 | unless ($rc_h and ref $rc_h eq 'HASH') |
| 49 | 0 | 1 | unless ($BASE and $ETC and $VAR) |
| 60 | 0 | 1 | unless $rcfile and $basepath |
| 63 | 0 | 1 | unless ('File::Spec'->file_name_is_absolute($basepath)) |