line |
true |
false |
branch |
90
|
1 |
10 |
if @_ & 1 |
93
|
3 |
5 |
unless defined $params{'Code'} or defined $params{'Get'} and defined $params{'Put'} |
98
|
2 |
5 |
defined $params{'Code'} ? : |
|
1 |
6 |
unless defined $params{'Code'} ? ref $params{'Code'} eq 'CODE' : 1 |
101
|
5 |
1 |
defined $params{'Get'} ? : |
|
4 |
1 |
defined $params{'Put'} ? : |
|
2 |
4 |
unless defined $params{'Get'} ? ref $params{'Get'} eq 'CODE' : 1 and defined $params{'Put'} ? ref $params{'Put'} eq 'CODE' : 1 |
132
|
26 |
14 |
unless defined $data |
160
|
3 |
3 |
unless ref $params{$_} eq 'CODE' |
163
|
1 |
2 |
if (lc $_ eq 'code') { } |
|
1 |
1 |
elsif (lc $_ eq 'put') { } |
|
1 |
0 |
elsif (lc $_ eq 'get') { } |