blib/lib/Net/CDDBSearch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 42 | 28.5 |
line | true | false | branch |
---|---|---|---|
27 | 3 | 0 | $self ? : |
57 | 0 | 0 | if ($$self{'TYPE'} eq 'artist') { } |
0 | 0 | elsif ($$self{'TYPE'} eq 'disc') { } | |
59 | 0 | 0 | if lc $$self{'ALBUMS'}{$_}[0] eq lc $$self{'QUERY'} and lc $$self{'ALBUMS'}{$_}[1] eq $line |
63 | 0 | 0 | if lc $$self{'ALBUMS'}{$_}[1] eq lc $$self{'QUERY'} and lc $$self{'ALBUMS'}{$_}[0] eq $line |
74 | 1 | 0 | if ($$self{'QUERY'}) |
78 | 0 | 1 | if $$self{'DEBUG'} |
80 | 0 | 1 | defined $$self{'ERROR'} ? : |
90 | 1 | 0 | if ($$self{'QUERY'}) |
94 | 0 | 1 | if $$self{'DEBUG'} |
96 | 0 | 1 | defined $$self{'ERROR'} ? : |
107 | 0 | 1 | if ($$self{'URL'}) |
110 | 0 | 0 | if defined $$self{'DEBUG'} |
112 | 0 | 0 | defined $$self{'ERROR'} ? : |
127 | 2 | 0 | unless ($$self{'URL'} =~ /^http/) |
132 | 0 | 2 | if $$self{'DEBUG'} |
144 | 0 | 2 | if $$self{'DEBUG'} |
147 | 0 | 2 | unless $$self{'DATA'} |
162 | 0 | 0 | if defined $$self{'DEBUG'} |
166 | 0 | 0 | unless $$self{'DATA'} |
168 | 0 | 0 | if ($$self{'DATA'} =~ m[([^<]+)\s+\/\s+([^<]+)\s*tracks:\s+([^<]*)\s*total time:\s+([^<]*) \s*year:\s+([^<]*) \s*genre:\s+([^<]*)]is) |