| line |
true |
false |
branch |
|
28
|
0 |
0 |
unless defined $name |
|
30
|
0 |
0 |
unless length $name |
|
37
|
0 |
200 |
unless my $aa = $class->parse_type($_[0]) |
|
38
|
0 |
200 |
unless my $bb = $class->parse_type($_[1]) |
|
46
|
0 |
195 |
unless $type |
|
54
|
56 |
808 |
unless defined $type |
|
55
|
456 |
352 |
if blessed $type and $type->isa('MIME::Type') |
|
56
|
228 |
124 |
unless $type =~ /\W+/ |
|
59
|
1 |
351 |
if $type =~ m[^text/javascript$]i |
|
68
|
41 |
3 |
if (ref $resource eq 'ARRAY') { } |
|
|
3 |
0 |
elsif (ref $resource eq 'HASH') { } |
|
|
0 |
0 |
elsif (blessed $resource) { } |
|
75
|
0 |
0 |
if ($resource->isa('Path::Resource')) { } |
|
|
0 |
0 |
elsif ($resource->isa('URI::ToDisk')) { } |
|
98
|
27 |
273 |
if $_filter = $possible->new_parse($filter, @_) |
|
111
|
98 |
532 |
unless defined $value |
|
115
|
24 |
7 |
$value ? : |
|
116
|
19 |
66 |
$value ? : |
|
117
|
0 |
0 |
$value ? : |
|
119
|
3 |
627 |
if $found and $deprecated |
|
128
|
56 |
16 |
if ref $path eq 'HASH' |
|
130
|
2 |
70 |
if ref $path eq 'SCALAR' |
|
132
|
11 |
59 |
unless $path |
|
133
|
1 |
69 |
if blessed $path and $path->isa('Path::Class::Dir') |
|
134
|
15 |
55 |
if $path and $path =~ m[/$] |
|
135
|
5 |
65 |
if $path =~ m[(?:^|/)[^.]+$] |
|
138
|
14 |
56 |
if (ref $filter eq 'HASH') { } |
|
154
|
0 |
70 |
if $path =~ s/%b/%-l/g |