Branch Coverage

blib/lib/API/MikroTik/Sentence.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
12 0 72 if ref $_[0]
20 1 71 if ($query)
24 65 7 if $tag
36 3 72 if (defined(my $old_buff = delete $self->{'_buff'})) { }
61 216 11 if ($len < 128) { }
8 3 elsif ($len < 16384) { }
1 2 elsif ($len < 2097152) { }
1 1 elsif ($len < 268435456) { }
88 1 297 unless my $buff_bytes = length $$buff
89 1 296 if $buff_bytes < 5 and $$buff ne "\000"
95 4 292 if length $word < $len
106 278 23 if (($len & 128) == 0) { }
20 3 elsif (($len & 192) == 128) { }
1 2 elsif (($len & 224) == 192) { }
1 1 elsif (($len & 240) == 224) { }
1 0 elsif (($len & 248) == 240) { }