Branch Coverage

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


line true false branch
12 0 56 if ref $_[0]
20 1 55 if ($query)
24 48 8 if $tag
35 3 56 $self->is_incomplete ? :
56 168 9 if ($len < 128) { }
6 3 elsif ($len < 16384) { }
1 2 elsif ($len < 2097152) { }
1 1 elsif ($len < 268435456) { }
83 1 237 unless my $buf_bytes = length $$buf
84 1 236 if ($buf_bytes < 5 and $$buf ne "\000")
89 1 235 delete $self->{'partial'} ? :
90 3 233 if (length $$buf < $len)
100 218 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) { }