Branch Coverage

blib/lib/Net/Songkick.pm
Criterion Covered Total %
branch 16 68 23.5


line true false branch
93 1 0 if $format eq 'perl'
190 2 0 if $args
194 2 0 if $resp->is_success
225 2 0 if exists $data->{'resultsPage'}
226 2 0 if exists $data->{'results'}
228 1 1 if (exists $data->{'event'}) { }
1 0 elsif (exists $data->{'calendarEntry'}) { }
230 0 1 if ref $data->{'event'} ne 'ARRAY'
235 0 1 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 0 0 if (exists $params->{'user'}) { }
360 0 0 if ($self->user_gigs_params->{$_})
367 0 0 unless $self->return_perl
371 0 0 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 ? :