Branch Coverage

blib/lib/FIX/Parser/FIX44.pm
Criterion Covered Total %
branch 29 68 42.6


line true false branch
23 0 3 if ($self->{'_len'})
24 0 0 if $self->{'_len'} > length $self->{'_buf'}
31 1 3 if $self->{'_len'} > length $self->{'_buf'}
36 0 2 if (length $self->{'_buf'} > 14 and not $self->{'_buf'} =~ /^8=FIX.4.4\x{01}9=[0-9]/)
48 0 3 unless $tags[0][0] == 35
51 3 0 if ($tags[0][1] eq 'W') { }
0 0 elsif ($tags[0][1] eq '0') { }
0 0 elsif ($tags[0][1] eq '1') { }
0 0 elsif ($tags[0][1] eq '2') { }
0 0 elsif ($tags[0][1] eq 'A') { }
0 0 elsif ($tags[0][1] eq '5') { }
58 3 18 if ($tag->[0] == 52) { }
3 15 elsif ($tag->[0] == 55) { }
3 12 elsif ($tag->[0] == 268) { }
71 6 9 if ($tag->[0] == 269) { }
0 9 elsif ($tag->[0] == 55) { }
6 3 elsif ($tag->[0] == 270) { }
0 3 elsif ($tag->[0] == 272) { }
0 3 elsif ($tag->[0] == 273) { }
0 3 elsif ($tag->[0] == 167 and $tag->[1] ne 'FXSPOT') { }
3 0 elsif ($tag->[0] == 279 or $tag->[0] == 10) { }
72 0 0 $tag->[1] eq 'H' ? :
3 0 $tag->[1] eq '1' ? :
3 3 $tag->[1] eq '0' ? :
78 0 0 if $symbol and $symbol ne $tag->[1]
83 3 3 if ($type eq 'bid')
84 3 3 if ($type eq 'ask')
86 0 0 if $date and $date ne $tag->[1]
90 0 0 if $time and $time ne $tag->[1]
102 0 3 unless defined $price and $type
126 0 0 if ($tag->[0] == 112)
137 0 0 if ($tag->[0] == 7) { }
0 0 elsif ($tag->[0] == 16) { }
153 0 0 if ($tag->[0] == 58)