blib/lib/BusyBird/Main/PSGI/View.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 27 | 74.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
69 | 16 | 1 | 130 | $res_code eq '200' and ref $response_object eq 'HASH' |
17 | 56 | 74 | $res_code eq '200' and ref $response_object eq 'HASH' and not exists $$response_object{'error'} | |
188 | 14 | 10 | 0 | defined $$segment{'entity'} and defined $$segment{'type'} |
191 | 0 | 10 | 0 | defined $url_builder and defined $text_builder |
292 | 23 | 2 | 0 | ref $$status{'retweeted_status'} eq 'HASH' and !defined($$status{'busybird'}) || ref $$status{'busybird'} eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
49 | 8 | 7 | $message ||= 'Not Found' |
91 | 9 | 27 | delete $args{'code'} || 200 |
92 | 0 | 36 | delete $args{'headers'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
292 | 0 | 1 | 1 | !defined($$status{'busybird'}) || ref $$status{'busybird'} eq 'HASH' |
341 | 81 | 0 | 6 | defined $args{'statuses'} or defined $args{'error'} |