Branch Coverage

blib/lib/Net/Songkick.pm
Criterion Covered Total %
branch 19 68 27.9


line true false branch
93 1 0 if $format eq "perl"
190 3 0 if $args
194 3 0 if $resp->is_success
225 3 0 if exists $data->{'resultsPage'}
226 3 0 if exists $data->{'results'}
228 1 2 if (exists $data->{'event'}) { }
2 0 elsif (exists $data->{'calendarEntry'}) { }
230 0 1 if ref $data->{'event'} ne "ARRAY"
235 0 2 if ref $data->{'calendarEntry'} ne "ARRAY"
241 0 0 unless exists $data->{'event'}
271 1 0 if ($self->events_params->{$_})
278 0 1 unless $self->return_perl
282 0 1 wantarray ? :
302 1 0 if (exists $params->{'user'}) { }
315 0 0 if ($self->user_events_params->{$_})
322 0 1 unless $self->return_perl
326 0 1 wantarray ? :
347 1 0 if (exists $params->{'user'}) { }
360 0 0 if ($self->user_gigs_params->{$_})
367 0 1 unless $self->return_perl
371 0 1 wantarray ? :
385 0 0 if (exists $params->{'venue_id'}) { }
397 0 0 if ($self->venue_events_params->{$_})
404 0 0 unless $self->return_perl
408 0 0 wantarray ? :
422 0 0 if (exists $params->{'artist_id'}) { }
0 0 elsif (exists $params->{'mb_id'}) { }
437 0 0 if ($self->artist_events_params->{$_})
444 0 0 unless $self->return_perl
448 0 0 wantarray ? :
462 0 0 if (exists $params->{'metro_id'}) { }
474 0 0 if ($self->metro_events_params->{$_})
481 0 0 unless $self->return_perl
485 0 0 wantarray ? :