Branch Coverage

blib/lib/Net/CDDBScan.pm
Criterion Covered Total %
branch 21 76 27.6


line true false branch
31 3 0 $self ? :
41 1 0 if (@_)
45 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
47 0 1 defined $$self{'ERROR'} ? :
60 1 0 if (@_)
64 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
66 0 1 defined $$self{'ERROR'} ? :
79 1 0 if (@_)
83 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
85 0 1 defined $$self{'ERROR'} ? :
109 0 3 if ($$self{'URL'} =~ m[(www|/|htm)]) { }
116 1 2 if $$self{'TYPE'} eq 'track'
119 0 3 if $$self{'ARG'}{'DEBUG'}
140 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
143 0 1 unless $$self{'DATA'}
146 0 0 if ($line =~ /^\s*?]/)
148 0 0 if ($line =~ m[\s?(([^<]+)\s?\/\s?)?([^<]+).*])
151 0 0 if $$self{'ARG'}{'DEBUG'}
157 0 0 if ($$self{'ARG'}{'CONT'})
159 0 0 if ($line =~ /.*\[.+NEXT.*\]/)
162 0 0 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
179 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
182 0 1 unless $$self{'DATA'}
185 0 0 if ($line =~ /^\s*?]/)
187 0 0 if ($line =~ m[\s?(([^<]+)\s?\/\s?)?([^<]+).*])
190 0 0 if (defined $n2 and not $n2 =~ /^(\s+)?$/ and (defined $n3 and not $n3 =~ /^(\s+)?$/) and not $1 =~ /track/) { }
193 0 0 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
195 0 0 unless $$self{'ARG'}{'CONT'}
198 0 0 if $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
205 0 1 if ($$self{'ARG'}{'CONT'})
207 0 0 if ($line =~ /.*\[.+NEXT.*\]/)
210 0 0 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
228 0 1 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2
231 0 1 unless $$self{'DATA'}
234 0 0 if ($line =~ /^\s*?]/)
236 0 0 if ($line =~ m[\s?(([^\/]+)\/)?\s?([^<]+)])
238 0 0 unless ($n3 =~ /^(\s+)?$/)
244 0 0 if defined $$self{'ARG'}{'DEBUG'} and $$self{'ARG'}{'DEBUG'} == 2