Branch Coverage

blib/lib/Protocol/FIX/BaseComposite.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
29 0 2054 if @$composites % 2
32 0 2054 unless @$composites
35 0 2054 unless defined $name and $name =~ /.+/
46 0 39730 unless Protocol::FIX::is_composite($c)
50 2586 37144 if ($c->{'type'} eq "DATA")
54 1 2585 unless $valid_definition
58 5614 34115 $required ? :
59 5614 34115 if $required
62 4364 35365 if (UNIVERSAL::isa($c, "Protocol::FIX::Component"))
65 0 33547 if (exists $component_for{$k})
75 0 39729 if (exists $component_for{$c->{'name'}})
112 0 54 if ref $values ne "ARRAY" or not @$values or @$values % 2
122 1 164 unless ($c_info)
127 5 159 if ($c->{'type'} eq "DATA")
132 1 4 unless $valid_sequence
136 1 3 unless $$values[$idx - 1] == $actual_length
145 4 87 unless exists $used_composites{$mandatory_name}