Branch Coverage

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


line true false branch
8 127 46 if ($$args{'filters'})
10 0 127 unless @{$$args{'filters'};} == 1
30 2 3012 unless $$self{'_stream'}
37 214 2798 $am_peek ? :
39 625 2387 if (my $alt = $$self{'_alt_stream'})
41 489 136 if (my($evt) = $alt->$_next)
42 2 487 if $am_peek
56 215 2147 if $am_peek
60 2179 183 unless $$evt{'type'} eq 'OPEN' and $$self{'_match'}($evt)
68 43 140 if ref $res eq 'HASH'
73 3 137 unless defined $res
77 127 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)