| blib/lib/Plack/Debugger/Storage.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 24 | 54.1 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 1 | @_ == 1 && ref $_[0] eq 'HASH' ? : |
| 17 | 0 | 1 | unless defined $args{'data_dir'} |
| 20 | 0 | 1 | unless -d $args{'data_dir'} and -w $args{'data_dir'} |
| 24 | 0 | 2 | unless defined $args{$_} |
| 27 | 0 | 2 | unless ref $args{$_} and ref $args{$_} eq 'CODE' |
| 57 | 1 | 1 | unless -e $dir |
| 70 | 0 | 1 | unless -e $dir |
| 77 | 0 | 1 | unless -e $dir |
| 87 | 0 | 1 | unless $epoch |
| 90 | 0 | 1 | unless -e $dir |
| 105 | 0 | 3 | unless my $fh = 'IO::File'->new($file, '>') |
| 113 | 0 | 4 | unless my $fh = 'IO::File'->new($file, '<') |