Branch Coverage

blib/lib/WebService/Whistle/Pet/Tracker/API.pm
Criterion Covered Total %
branch 9 46 19.5


line true false branch
38 0 1 ref $this ? :
41 1 0 if @_
55 1 1 if @_
56 0 2 unless $self->{'email'}
68 1 1 if @_
69 0 2 unless $self->{'password'}
99 0 0 unless my $serial_number = shift()
113 0 0 unless my $pet_id = shift()
127 0 0 unless my $pet_id = shift()
128 0 0 unless my $day_number = shift()
142 0 0 unless my $pet_id = shift()
168 0 0 unless my $api_destination = shift()
170 0 0 $api_destination eq '/login' ? :
179 0 0 if $self->{'DEBUG'}
182 0 0 if ($api_destination eq '/login') { }
183 0 0 if $status eq 422
184 0 0 unless $status eq 201
186 0 0 unless $status eq 200
192 0 0 if $error
193 0 0 if $self->{'DEBUG'}
205 0 0 if @_
206 0 0 unless defined $self->{'login'}
228 1 0 unless ($self->{'ua'})