Branch Coverage

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


line true false branch
12 0 84 if ref $_[0]
20 1 83 if ($query)
24 76 8 if $tag
35 3 83 $self->is_incomplete ? :
56 258 9 if ($len < 128) { }
6 3 elsif ($len < 16384) { }
1 2 elsif ($len < 2097152) { }
1 1 elsif ($len < 268435456) { }
83 1 350 unless my $buf_bytes = length $$buf
84 1 349 if ($buf_bytes < 5 and $$buf ne "\0")
89 1 348 delete $self->{'partial'} ? :
90 4 345 if (length $$buf < $len)
100 331 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) { }