Branch Coverage

blib/lib/WebService/Spotify.pm
Criterion Covered Total %
branch 14 148 9.4


line true false branch
24 0 1 unless @_ > 0
32 1 0 $response->content ? :
35 0 0 unless @_ > 0
0 0 unless @_ > 1
46 0 0 $response->content ? :
49 0 0 unless @_ > 0
0 0 if @_ > 1
50 0 0 if $$result{'next'}
53 0 0 unless @_ > 0
0 0 if @_ > 1
54 0 0 if $$result{'previous'}
57 0 0 unless @_ > 0
0 0 if @_ > 1
62 0 0 unless @_ > 0
0 0 if @_ > 1
67 0 1 unless @_ > 0
0 1 if @_ > 1
72 0 0 unless @_ > 0
0 0 if @_ > 1
77 0 0 unless @_ > 0
0 0 exists $args{'limit'} ? :
0 0 exists $args{'offset'} ? :
0 0 if keys %args
0 0 if @_ > 9
80 0 0 if $album_type
81 0 0 if $country
85 0 0 unless @_ > 0
0 0 exists $args{'country'} ? :
0 0 if keys %args
0 0 if @_ > 3
90 0 0 unless @_ > 0
0 0 if @_ > 1
95 0 0 unless @_ > 0
0 0 if @_ > 1
100 0 0 unless @_ > 0
0 0 if @_ > 1
105 0 0 unless @_ > 0
0 0 exists $args{'limit'} ? :
0 0 exists $args{'offset'} ? :
0 0 exists $args{'type'} ? :
0 0 if keys %args
0 0 if @_ > 7
109 0 0 unless @_ > 0
0 0 if @_ > 1
113 0 0 unless @_ > 0
0 0 if @_ > 1
117 0 0 unless @_ > 0
0 0 if keys %args
0 0 if @_ > 5
118 0 0 $playlist_id ? :
122 0 0 unless @_ > 0
0 0 unless @_ > 1
0 0 exists $args{'public'} ? :
0 0 if keys %args
0 0 if @_ > 4
127 0 0 unless @_ > 0
0 0 unless @_ > 1
0 0 unless @_ > 2
0 0 if keys %args
0 0 if @_ > 5
129 0 0 if $position
133 0 0 if @_ > 0
138 0 2 if $self->trace
141 0 1 if @_ > 0
142 0 1 $self->auth ? :
145 0 1 unless @_ > 0
146 0 1 $method =~ /^http/ ? :
154 0 1 unless @_ > 0
0 1 unless @_ > 1
0 1 if @_ > 2
156 1 0 if (@fields == 3)
157 0 1 if $type ne $fields[1]
162 0 0 if (@fields >= 3)
163 0 0 if $type ne $fields[-2]