blib/lib/Cloudinary.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 28 | 57.1 |
line | l | !l | condition |
---|---|---|---|
62 | 0 | 7 | $args->{'resource_type'} ||= 'image' |
96 | 0 | 2 | $args->{'resource_type'} ||= 'image' |
103 | 0 | 2 | $args->{'type'} || 'upload' |
121 | 2 | 0 | $_[1]->res->json || {'error', $_[1]->error || 'Unknown error'} |
126 | 0 | 0 | $res->{'message'} || 'Unknown error' |
148 | 4 | 2 | shift() || {} |
159 | 0 | 6 | $args->{'resource_type'} || 'image' |
1 | 5 | $args->{'type'} || 'upload' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 3 | 4 | 0 | $args->{'timestamp'} ||= time |
72 | 0 | 4 | 0 | $args->{'filename'} || basename($args->{'file'}->path) |
103 | 1 | 1 | 0 | $args->{'timestamp'} || time |
158 | 2 | 0 | 4 | $SHORTER{$_} || $_ |