line |
true |
false |
branch |
26
|
2 |
0 |
ref $_[0] ? : |
|
2 |
0 |
@_ ? : |
31
|
4 |
0 |
if (defined $$options{$modifier} and $$options{$modifier} ne '') |
40
|
0 |
2 |
if (exists $$options{'http2crud'}) |
42
|
0 |
0 |
unless exists $$options{'http2crud'}{$method_type} |
44
|
0 |
0 |
unless exists $$options{'http2crud'}{$method_type}{$method} |
51
|
0 |
2 |
if defined $$options{'hook'} and $$options{'hook'} == 0 |
52
|
2 |
0 |
if ($self->install_hook) |
57
|
10 |
0 |
if ($path_substr eq $url_prefix) |
59
|
9 |
1 |
unless (defined $$json{'data'}) |
73
|
0 |
2 |
ref $_[0] ? : |
|
2 |
0 |
@_ ? : |
75
|
0 |
2 |
unless defined $$params{'name'} |
87
|
1 |
1 |
if (defined $under_name and $under_name ne '') |
98
|
0 |
4 |
if defined $$params{'methods'} and index($$params{'methods'}, substr($$http2crud{'collection'}{$collection_method}, 0, 1)) == -1 |
104
|
2 |
2 |
if (defined $under_name) |
112
|
2 |
2 |
if (defined $under_name) { } |
129
|
0 |
6 |
if defined $$params{'methods'} and index($$params{'methods'}, substr($$http2crud{'resource'}{$resource_method}, 0, 1)) == -1 |
134
|
0 |
6 |
if (defined $$params{'types'}) { } |
142
|
0 |
6 |
if (defined $$params{'types'}) |
149
|
3 |
3 |
if (defined $under_name) |
156
|
3 |
3 |
if (defined $under_name) { } |