Branch Coverage

blib/lib/WebService/Connpass.pm
Criterion Covered Total %
branch 24 36 66.6


line true false branch
28 1 1 if (defined $param{'baseurl'}) { }
36 0 2 if (defined $param{'encoding'})
42 0 2 if (defined $param{'disable_nextpage_fetch'} and $param{'disable_nextpage_fetch'}) { }
76 0 2 if (defined $query{'_is_auto_fetch'})
88 0 2 unless ($response->is_success)
96 0 2 if (defined $$self{'encoding'})
101 2 0 unless ($is_auto_fetch)
112 2 0 unless ($is_auto_fetch)
125 0 6 if ($i < 0)
127 4 2 if ($i < @{$$self{'events'};}) { }
134 0 2 if ($$self{'nextpage_fetch'} == 1 and $_is_disable_autofetch == 0 and @{$$self{'events'};} % $$self{'current_query'}{'count'} == 0)
151 4 2 if (0 <= $i)
165 3 5 unless (defined $$hash{'started'})
166 3 0 defined $$hash{'started_at'} ? :
169 3 5 unless (defined $$hash{'ended'})
170 3 0 defined $$hash{'ended_at'} ? :
173 3 5 unless (defined $$hash{'updated'})
174 3 0 defined $$hash{'updated_at'} ? :