Branch Coverage

blib/lib/WebService/Zusaar.pm
Criterion Covered Total %
branch 30 38 78.9


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