Condition Coverage

blib/lib/WebService/Async/CustomerIO.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

line !l l&&!r l&&r condition
226 0 0 8 $err_type and $err_type eq "http"
401 1 1 0 ref $data->{'identifiers'} eq "HASH" and $data->{'identifiers'}{'id'} || $data->{'identifiers'}{'email'} || $data->{'identifiers'}{'cio'}

or 2 conditions

line l !l condition
154 0 1 $self->track_uri // "https://track.customer.io/api/v1"
173 0 1 $self->api_uri // "https://api.customer.io/v1"
175 0 1 $limit_type // "api"
251 11 0 $headers // {}

or 3 conditions

line l !l&&r !l&&!r condition
373 0 0 1 ref $resp ne "HASH" or ref $resp->{'results'} ne "ARRAY"
401 0 0 0 $data->{'identifiers'}{'id'} || $data->{'identifiers'}{'email'} || $data->{'identifiers'}{'cio'}