Branch Coverage

blib/lib/HTML/Zoom/FilterStream.pm
Criterion Covered Total %
branch 28 30 93.3


line true false branch
8 117 40 if ($$args{'filters'})
10 0 117 unless @{$$args{'filters'};} == 1
30 2 2823 unless $$self{'_stream'}
37 213 2610 $am_peek ? :
39 609 2214 if (my $alt = $$self{'_alt_stream'})
41 477 132 if (my($evt) = $alt->$_next)
42 2 475 if $am_peek
56 214 1983 if $am_peek
60 2030 167 unless $$evt{'type'} eq 'OPEN' and $$self{'_match'}($evt)
68 31 136 if ref $res eq 'HASH'
73 3 133 unless defined $res
77 123 10 if (ref $res eq 'ARRAY')
85 9 1 if (my($new_evt) = $res->$_next)
87 0 9 if $am_peek
103 3 1 if ($am_peek)