Branch Coverage

blib/lib/WebService/GarminConnect.pm
Criterion Covered Total %
branch 2 32 6.2


line true false branch
73 3 3 unless defined $options{$required_option}
88 0 0 if defined $self->{'is_logged_in'}
104 0 0 unless $response->is_success
117 0 0 unless $response->is_success
119 0 0 if ($response->content =~ />sendEvent\('FAIL'\)/)
122 0 0 if ($response->content =~ />sendEvent\('ACCOUNT_LOCKED'\)/)
125 0 0 if ($response->content =~ /renewPassword/)
128 0 0 unless ($response->content =~ /\?ticket=([^"]+)"/)
136 0 0 unless $response->is_success
179 0 0 if (defined $opts{'pagesize'})
180 0 0 if ($opts{'pagesize'} > 0 and $opts{'pagesize'} < 50)
186 0 0 if (defined $opts{'limit'})
187 0 0 if ($opts{'limit'} < $pagesize)
203 0 0 unless $response->is_success
211 0 0 if (defined $opts{'limit'}) { }
213 0 0 if (@activities < $opts{'limit'}) { }