Branch Coverage

blib/lib/WebService/Vichan.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
38 0 8 if ($cached_timestamp)
42 7 1 if $time_since_last_request < 1
45 0 8 if ($result->{'status'} == 304) { }
0 8 elsif (not $result->{'success'}) { }
49 0 0 unless $result->{'success'}
60 8 4 if (not defined $result) { }
0 4 elsif (&WebService::Vichan::time() - $result->[1] > 10) { }
71 1 1 if ref $result eq 'HASH'
76 2 0 wantarray ? :
81 4 0 if ref $board
84 4 0 wantarray ? :
90 2 0 wantarray ? :
95 4 0 if ref $board
98 4 0 wantarray ? :
104 2 0 wantarray ? :
109 2 0 if ref $board
110 2 0 if ref $threadno
112 1 1 $is_4chan ? :
116 2 0 wantarray ? :