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
316 10 0 3 defined $attributes->{'extras'} and ref $attributes->{'extras'} eq 'HASH'
326 13 0 0 exists $attributes->{'format'} and $attributes->{'format'} =~ /json|xml|xspf|jsonp/
352 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'}
368 12 1 0 $path =~ /\{user_id\}/ and exists $attributes->{'params'}{'user_id'}
373 13 0 0 $path =~ /\{playlist_id\}/ and exists $attributes->{'params'}{'playlist_id'}
443 13 0 0 $self->auto_json_decode and $self->result_format eq 'json'
447 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