Branch Coverage

blib/lib/MojoX/NetstringStream.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
14 0 4 unless $stream
36 0 4 if $self->{'debug'}
39 6 0 unless ($$want)
40 2 4 unless $$buf
42 0 4 unless (my $i = index($$buf, ':')) > 0
47 1 3 if ($maxsize and $$want > $maxsize)
57 0 3 if $$want > length $$buf
60 1 2 if (chop $chunk ne ',')
74 0 0 if $self->{'debug'}
89 0 2 if $self->{'debug'}