Condition Coverage

lib/Smartcat/Client/ApiClient.pm
Criterion Covered Total %
condition 2 33 6.0


and 3 conditions

line !l l&&!r l&&r condition
47 11 0 0 $_[0] and ref $_[0]
11 0 0 $_[0] and ref $_[0] and ref $_[0] eq 'Smartcat::Client::Configuration'
111 0 0 0 defined $body_data and ref $body_data ne 'ARRAY'
0 0 0 defined $body_data and ref $body_data ne 'ARRAY' and $body_data->can('to_hash')
315 0 0 0 @header == 1 and $header[0] eq ''
333 0 0 0 @header == 1 and $header[0] eq ''
367 0 0 0 $auth_settings and @$auth_settings

or 3 conditions

line l !l&&r !l&&!r condition
159 0 0 0 $self->{'http_timeout'} || $self->{'config'}{'http_timeout'}
161 0 0 0 $self->{'http_user_agent'} || $self->{'config'}{'http_user_agent'}
315 0 0 0 @header == 0 or @header == 1 and $header[0] eq ''
333 0 0 0 @header == 0 or @header == 1 and $header[0] eq ''