Branch Coverage

blib/lib/Finance/InteractiveBrokers/API.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
212 0 6 if @args & 1
223 1 5 unless exists $$methods{$self->api_version}
238 5 0 if (exists $our_args{lc $_})
241 5 0 if $our_args{lc $_} & $Finance::InteractiveBrokers::API::DELETE
249 6 0 if ($our_args{$_} & $Finance::InteractiveBrokers::API::REQUIRED)
251 0 6 unless exists $$self{lc $_} and defined $$self{lc $_}
302 4 507 unless defined $name
304 344 163 exists $$methods{$self->api_version}{$name} ? :
313 4 310 unless defined $name
315 294 16 exists $$events{$self->api_version}{$name} ? :
324 4 327 unless defined $name
326 319 8 $self->is_method($name) || $self->is_event($name) ? :