Branch Coverage

blib/lib/BERT/Decoder.pm
Criterion Covered Total %
branch 45 58 77.5


line true false branch
21 0 33 unless 131 == $magic
32 9 24 if ref $value eq 'BERT::Tuple'
35 0 33 if $bert
43 1 8 unless $array[0] eq 'bert'
45 1 7 if ($array[1] eq 'nil') { }
1 6 elsif ($array[1] eq 'true') { }
1 5 elsif ($array[1] eq 'false') { }
3 2 elsif ($array[1] eq 'dict') { }
1 1 elsif ($array[1] eq 'time') { }
1 0 elsif ($array[1] eq 'regex') { }
63 1 0 if ($_ eq 'caseless') { }
0 0 elsif ($_ eq 'dotall') { }
0 0 elsif ($_ eq 'extended') { }
0 0 elsif ($_ eq 'multiline') { }
80 8 72 if (97 == $type) { }
7 65 elsif (98 == $type) { }
2 63 elsif (99 == $type) { }
25 38 elsif (100 == $type) { }
12 26 elsif (104 == $type) { }
0 26 elsif (105 == $type) { }
2 24 elsif (106 == $type) { }
3 21 elsif (107 == $type) { }
7 14 elsif (108 == $type) { }
10 4 elsif (109 == $type) { }
3 1 elsif (110 == $type) { }
1 0 elsif (111 == $type) { }
161 0 7 unless 106 == $type
202 1 3 if $sign != 0
211 47 19 if ($len > 0) { }