Condition Coverage

blib/lib/WWW/Spotify.pm
Criterion Covered Total %
condition 14 34 41.1


and 3 conditions

line !l l&&!r l&&r condition
317 10 0 3 defined $attributes->{'extras'} and ref $attributes->{'extras'} eq 'HASH'
327 13 0 0 exists $attributes->{'format'} and $attributes->{'format'} =~ /json|xml|xspf|jsonp/
353 12 0 1 $path =~ /search/ and $attributes->{'method'} eq 'search'
5 7 0 $path =~ /\{id\}/ and exists $attributes->{'params'}{'id'}
1 4 0 $path =~ /\{ids\}/ and exists $attributes->{'params'}{'ids'}
369 12 1 0 $path =~ /\{user_id\}/ and exists $attributes->{'params'}{'user_id'}
374 13 0 0 $path =~ /\{playlist_id\}/ and exists $attributes->{'params'}{'playlist_id'}
444 13 0 0 $self->auto_json_decode and $self->result_format eq 'json'
448 13 0 0 $self->auto_xml_decode and $self->result_format eq 'xml'

or 2 conditions

line l !l condition
577 0 0 $grant_type ||= 'authorization_code'
689 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
666 0 0 0 shift() || $self->call_type