Branch Coverage

blib/lib/MikroTik/Client/Sentence.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
12 0 55 if ref $_[0]
20 1 54 if ($query)
24 48 7 if $tag
35 3 55 $self->is_incomplete ? :
56 166 9 if ($len < 128) { }
6 3 elsif ($len < 16384) { }
1 2 elsif ($len < 2097152) { }
1 1 elsif ($len < 268435456) { }
83 1 234 unless my $buf_bytes = length $$buf
84 1 233 if ($buf_bytes < 5 and $$buf ne "\000")
89 1 232 delete $self->{'partial'} ? :
90 3 230 if (length $$buf < $len)
100 215 21 if (($len & 128) == 0) { }
18 3 elsif (($len & 192) == 128) { }
1 2 elsif (($len & 224) == 192) { }
1 1 elsif (($len & 240) == 224) { }
1 0 elsif (($len & 248) == 240) { }