Branch Coverage

blib/lib/Net/SSH/Perl/Buffer.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
18 0 21 unless $mp
47 21 103 unless defined $len
50 30 94 defined $rep ? :
74 0 1 defined $_[0] ? :
86 0 1 defined $_[0] ? :
98 0 21 defined $_[0] ? :
110 0 16 defined $_[0] ? :
123 0 16 defined $_[0] ? :
132 0 6 unless defined $str
142 0 1 defined $_[0] ? :
157 1 0 if CORE::length($tmp) % 2
172 0 0 if ord substr($num, 0, 1) & 128
182 0 0 unless $len
184 0 0 if ord substr($num, 0, 1) & 128
186 0 0 if $len > 2049 or $len == 2049 and ord substr($num, 0, 1) != 0