Branch Coverage

blib/lib/POE/Component/Client/opentick/Record.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
169 0 23 if @args & 1
191 86 0 if exists $$valid_args{lc $_}
197 2 13 if (defined $$self{'datatype'} and $$self{'datatype'} == OTConstant('OT_DATATYPE_TRADE') || $$self{'datatype'} == OTConstant('OT_DATATYPE_EQ_INIT') || $$self{'datatype'} == OTConstant('OT_DATATYPE_OHLC'))
204 3 20 if @fields
218 1 0 ref $_[0] eq 'ARRAY' ? :
228 0 1 unless $datatype =~ /^\d+$/
244 1 2 if (ref $_[0] eq 'ARRAY') { }
1 1 elsif (ref $_[0] eq 'HASH') { }
286 1 1 unless defined $separator
300 16 0 exists $$field_datatypes{$$self{'datatype'}} ? :
7 0 exists $$field_names{$$self{'commandid'}} ? :
16 7 $$self{'datatype'} ? :
304 2 21 if $#{$$self{'data'};} < scalar @fields