Condition Coverage

blib/lib/WWW/Spotify/Endpoint.pm
Criterion Covered Total %
condition 0 59 0.0


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 0 $status >= 200 && $status < 300
78 0 0 0 $self->response_content_type =~ m[application/json]iu and not $self->_is_success_status($self->response_status)
87 0 0 0 $self->die_on_response_error and $self->last_error ne ""
150 0 0 0 $self->die_on_response_error and $self->last_error ne ""
213 0 0 0 $self->die_on_response_error and $self->last_error ne ""
233 0 0 0 defined $attributes->{'extras'} and ref $attributes->{'extras'} eq "HASH"
243 0 0 0 exists $attributes->{'format'} and $attributes->{'format'} =~ /json|jsonp/u
260 0 0 0 $path =~ /search/u and $attributes->{'method'} eq "search"
0 0 0 $path =~ /\{id\}/u and exists $attributes->{'params'}{'id'}
0 0 0 $path =~ /\{ids\}/u and exists $attributes->{'params'}{'ids'}
284 0 0 0 $path =~ /\{user_id\}/u and exists $attributes->{'params'}{'user_id'}
291 0 0 0 $path =~ /\{playlist_id\}/u and exists $attributes->{'params'}{'playlist_id'}
298 0 0 0 $path =~ /\{category_id\}/u and exists $attributes->{'params'}{'category_id'}
343 0 0 0 $self->response_content_type =~ m[application/json]iu and not $self->_is_success_status($self->response_status)
352 0 0 0 $self->die_on_response_error and $self->last_error ne ""

or 2 conditions

line l !l condition
368 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 0 $attributes->{'client_auth_required'} or $self->force_client_auth != 0
115 0 0 0 $attributes->{'client_auth_required'} or $self->force_client_auth != 0
178 0 0 0 $attributes->{'client_auth_required'} or $self->force_client_auth != 0
319 0 0 0 $attributes->{'client_auth_required'} or $self->force_client_auth != 0