line |
true |
false |
branch |
60
|
179 |
6 |
if (my $dest = $$self{'router'}->match($env)) { } |
64
|
0 |
179 |
defined $code ? : |
95
|
0 |
152 |
unless defined $name |
104
|
4 |
131 |
unless (defined $timeline) |
116
|
4 |
66 |
lc $$dest{'format'} eq 'json' && $only_statuses ? : |
|
0 |
70 |
!defined($$dest{'format'}) ? : |
122
|
0 |
69 |
if (not looks_like_number $count or int $count != $count) |
137
|
2 |
3 |
$is_normal_error ? : |
|
4 |
1 |
$timeline ? : |
152
|
5 |
24 |
if (ref $posted_obj ne 'ARRAY') |
161
|
1 |
3 |
$is_normal_error ? : |
174
|
23 |
4 |
if ($req->content) |
176
|
0 |
23 |
if (ref $body_obj ne 'HASH') |
188
|
1 |
2 |
$is_normal_error ? : |
201
|
3 |
2 |
if (defined $$query_params{'total'}) |
205
|
0 |
5 |
unless looks_like_number $query_key |
206
|
0 |
5 |
if int $query_key != $query_key |
213
|
0 |
5 |
if ($error) { } |
225
|
0 |
1 |
$is_normal_error ? : |
237
|
3 |
14 |
if (not defined $level) { } |
|
0 |
14 |
elsif ($level ne 'total' and !looks_like_number($level) || int $level != $level) { } |
244
|
16 |
46 |
if substr($query_key, 0, 3) ne 'tl_' |
252
|
0 |
15 |
if ($error) { } |
265
|
0 |
2 |
$is_normal_error ? : |
284
|
0 |
10 |
if (@timelines == 0) |
290
|
7 |
3 |
if (defined $$query{'page'}) |
291
|
2 |
3 |
if (not looks_like_number($$query{'page'}) or $$query{'page'} < 0 or $$query{'page'} >= $page_num) |
310
|
0 |
4 |
$is_normal_error ? : |