Branch Coverage

blib/lib/MP3/Find/Filesystem.pm
Criterion Covered Total %
branch 12 34 35.2


line true false branch
35 0 0 if ($ref eq 'ARRAY')
39 0 0 unless ($ref eq 'Regexp')
40 0 0 if $$options{'exact_match'}
41 0 0 $$options{'ignore_case'} ? :
45 2 2 if ($$options{'exclude_path'})
47 1 1 if ($ref eq 'ARRAY')
50 2 0 unless ($ref eq 'Regexp')
55 0 4 if ($$options{'use_id3v2'} and not $CAN_USE_ID3V2)
65 0 4 if (@$sort)
66 0 0 if ($USE_SORT_KEY) { }
80 0 0 looks_like_number($$a{$_}) && looks_like_number($$b{$_}) ? :
84 0 0 if $compare
97 12 4 unless $filename =~ m[[^/]\.mp3$]
98 2 2 if ($$options{'exclude_path'})
99 2 0 if $filename =~ /$$options{'exclude_path'}/
109 0 0 unless defined $value
110 0 0 unless $value =~ /$$query{$field}/