blib/lib/Image/Delivery/Provider/Scalar.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
22 | 10 | 0 | ref $_[0] eq 'SCALAR' ? : |
31 | 0 | 10 | if (isa($params{'TransformPath'}, 'Digest::TransformPath')) |
34 | 1 | 9 | if (defined $params{'id'} and length $params{'id'}) |
37 | 1 | 9 | if (defined $params{'content_type'} and length $params{'content_type'}) |
40 | 1 | 9 | if (defined $params{'extension'} and length $params{'extension'}) |
45 | 0 | 10 | unless my $extension = $self->extension |
46 | 0 | 10 | unless (grep {$extension eq $_;} $self->filetypes) |