Branch Coverage

blib/lib/HTML/Zoom/StreamUtils.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
35 98 53 if (not $ref) { }
28 25 elsif ($ref eq 'ARRAY') { }
24 1 elsif ($ref eq 'CODE') { }
0 1 elsif ($ref eq 'SCALAR') { }
1 0 elsif (&Scalar::Util::blessed($proto) and $proto->can('to_stream')) { }
75 0 306 unless $source_stream
77 332 18 $cur_stream ? :
78 18 44 unless (($cur_stream) = $source_stream->next)