Condition Coverage

blib/lib/WWW/Spotify.pm
Criterion Covered Total %
condition 11 37 29.7


and 3 conditions

line !l l&&!r l&&r condition
323 2 0 0 defined $attributes->{'extras'} and ref $attributes->{'extras'} eq 'HASH'
333 2 0 0 exists $attributes->{'format'} and $attributes->{'format'} =~ /json|xml|xspf|jsonp/
359 2 0 0 $path =~ /search/ and $attributes->{'method'} eq 'search'
1 1 0 $path =~ /\{id\}/ and exists $attributes->{'params'}{'id'}
0 1 0 $path =~ /\{ids\}/ and exists $attributes->{'params'}{'ids'}
375 2 0 0 $path =~ /\{user_id\}/ and exists $attributes->{'params'}{'user_id'}
380 2 0 0 $path =~ /\{playlist_id\}/ and exists $attributes->{'params'}{'playlist_id'}
451 2 0 0 $self->auto_json_decode and $self->result_format eq 'json'
455 2 0 0 $self->auto_xml_decode and $self->result_format eq 'xml'

or 2 conditions

line l !l condition
582 0 0 $grant_type ||= 'authorization_code'
694 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
405 0 0 2 $attributes->{'client_auth_required'} or $self->force_client_auth != 0
671 0 0 0 shift() || $self->call_type