line |
true |
false |
branch |
231
|
2 |
3 |
if ref $args ne 'HASH' |
235
|
1 |
4 |
unless defined $$args{'file'} |
237
|
0 |
4 |
if (ref $$args{'tags'} eq 'ARRAY') |
240
|
2 |
2 |
if (UNIVERSAL::isa($$args{'file'}, 'Mojo::Asset')) { } |
|
0 |
2 |
elsif (UNIVERSAL::isa($$args{'file'}, 'Mojo::Upload')) { } |
286
|
2 |
1 |
unless ref $args eq 'HASH' |
288
|
1 |
2 |
unless defined $$args{'public_id'} |
318
|
2 |
4 |
if ($cb) { } |
|
0 |
4 |
elsif ($tx->success) { } |
322
|
0 |
0 |
if ($$args{'on_success'}) { } |
|
0 |
0 |
elsif ($$args{'delay'}) { } |
332
|
4 |
0 |
if ($$args{'on_error'}) { } |
|
0 |
0 |
elsif ($$args{'delay'}) { } |
350
|
15 |
41 |
if defined $$args{$k} |
383
|
0 |
6 |
unless my $public_id = shift() |
385
|
4 |
2 |
$public_id =~ s/\.(\w+)// ? : |
386
|
0 |
6 |
delete $$args{'secure'} ? : |
394
|
7 |
0 |
if $_ ne 'resource_type' |