| blib/lib/Archer/ConfigLoader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 18 | 22.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 0 | 7 | 0 | not ref $stuff and $stuff eq '-' |
| 0 | 0 | 7 | -e $stuff and -r _ | |
| 0 | 0 | 0 | ref $stuff and ref $stuff eq 'SCALAR' | |
| 0 | 0 | 0 | ref $stuff and ref $stuff eq 'HASH' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 7 | not ref $stuff and $stuff eq '-' or -e $stuff and -r _ |
| 53 | 0 | 7 | 0 | $$config{'global'}{'assets_path'} ||= sub { my $dir = 'File::Spec'->catdir($FindBin::Bin, 'assets'); return $dir if -d $dir; $dir = 'File::Spec'->catdir($FindBin::Bin, 'share', 'assets'); return $dir if -d $dir; 'File::Spec'->catdir(dist_dir('Archer'), 'assets'); } ->() |