blib/lib/FileCache/Appender.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
72 | 0 | 16 | unless (ref $self) |
76 | 12 | 4 | unless ($$cache{$path}) |
77 | 8 | 4 | if ($$self{'_open_count'} == $$self{'max_open'}) |
80 | 2 | 10 | if ($$self{'mkpath'}) |
82 | 1 | 1 | unless $dir->exists |
84 | 1 | 11 | unless open my $fd, '>>', $path |