Condition Coverage

blib/lib/WWW/GoDaddy/REST/Resource.pm
Criterion Covered Total %
condition 21 38 55.2


and 3 conditions

line !l l&&!r l&&r condition
184 1 4 1 $container and $container eq 'map'
1 0 4 $container and $container eq 'array'
230 2 3 0 $http_resp and $http_resp->header('X-API-Schemas')

or 2 conditions

line l !l condition
71 2 0 $schema->f('resourceActions') || {}
156 4 1 (shift())->f('actions') || {}
264 94 0 $$params{'fields'}{'type'} || ''
267 58 36 $class->find_implementation($type_long, $type_short) || 'WWW::GoDaddy::REST::Resource'

or 3 conditions

line l !l&&r !l&&!r condition
34 2 0 0 $self->link('self') || $self->client->schema($self->type)->query_url($self->id)
41 2 0 0 $self->link('self') || $self->client->schema($self->type)->query_url($self->id)
73 0 1 0 $self->link('self') || $schema->query_url($self->id)
122 5 0 0 $self->client->schema($self->resource_type_fq) || $self->client->schema($self->type_fq) || $self->client->schema($self->type)
187 1 1 0 $$v{'type'} ||= $type_schema->id
195 23 0 0 $$v{'type'} ||= $type_schema->id
202 0 1 0 $ret{'type'} ||= $type_schema->id