Branch Coverage

blib/lib/Audio/Scan.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
36 0 205 unless (open my $fh, "<", $path)
45 0 205 unless $suffix
47 54 151 if (defined $opts)
48 0 54 if (not ref $opts) { }
60 151 54 unless (defined $filter)
78 0 3 if (defined $opts)
79 0 0 if (not ref $opts) { }
91 3 0 unless (defined $filter)
101 0 41 unless (open my $fh, "<", $path)
110 0 41 unless $suffix
130 0 3 unless (open my $fh, "<", $path)
139 0 3 unless $suffix