blib/lib/Asset/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 19 | 68.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 6 | 0 | 9 | $self->cleanup and defined(my $path = $self->path) |
204 | 0 | 0 | 0 | File::Path::make_path($dir) and -d $dir |
line | l | !l | condition |
---|---|---|---|
70 | 19 | 0 | $chunk //= '' |
119 | 4 | 4 | $max //= 131072 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
66 | 1 | 1 | 1 | $_[0]->end_range || $_[0]->start_range |
90 | 13 | 23 | 1 | $self->end_range // $self->size |
108 | 7 | 0 | 19 | $read == 0 or ($offset += $read) == $end |