blib/lib/BusyBird/Main/PSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 25 | 76.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
116 | 7 | 59 | 4 | lc $$dest{'format'} eq 'json' && $only_statuses |
237 | 9 | 5 | 0 | $level ne 'total' and !looks_like_number($level) || int $level != $level |
line | l | !l | condition |
---|---|---|---|
121 | 54 | 15 | $req->query_parameters->{'count'} || 20 |
125 | 47 | 22 | $req->query_parameters->{'ack_state'} || 'any' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 142 | 43 | 0 | $$self{'view'} ||= 'BusyBird::Main::PSGI::View'->new('main_obj', $$self{'main_obj'}, 'script_name', $$env{'SCRIPT_NAME'}) |
122 | 0 | 0 | 69 | not looks_like_number $count or int $count != $count |
237 | 0 | 0 | 5 | !looks_like_number($level) || int $level != $level |
291 | 2 | 1 | 4 | not looks_like_number($$query{'page'}) or $$query{'page'} < 0 |
3 | 1 | 3 | not looks_like_number($$query{'page'}) or $$query{'page'} < 0 or $$query{'page'} >= $page_num |