Condition Coverage

blib/lib/Yancy/Backend/MojoDB.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 0 ref $id_field eq "ARRAY" and @$id_field > grep(exists $params->{$_}, @$id_field)
243 0 0 0 ref $id_field eq "ARRAY" and @$id_field > grep(exists $params->{$_}, @$id_field)
302 0 0 0 $opt->{'limit'} and not &looks_like_number($opt->{'limit'})

or 2 conditions

line l !l condition
82 0 0 $schema->{'x-view'} || {}
101 0 0 $join_schema->{'x-id-field'} // "id"
110 0 0 $props{$_}{'x-foreign-key'} // ""
113 0 0 $join_schema->{'x-id-field'} // "id"
118 0 0 $join_props->{$_}{'x-foreign-key'} // ""
125 0 0 $schema->{'x-id-field'} // "id"
157 0 0 $self->schema->{$j}{'x-id-field'} // "id"
184 0 0 $self->schema->{$j}{'x-id-field'} // "id"
221 0 0 $params ||= {}
0 0 $opt ||= {}
276 0 0 $schema->{'x-id-field'} // "id"
277 0 0 $schema->{'x-view'} || {}
303 0 0 $opt->{'limit'} // "4294967296"
317 0 0 $params ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 0 $params->{$_} // $inserted_id
54 0 0 0 $params->{$id_field} // $inserted_id
82 0 0 0 +($schema->{'x-view'} || {})->{'schema'} // $schema_name
101 0 0 0 $join_key_field //= $join_schema->{'x-id-field'} // "id"
113 0 0 0 $join_key_field //= $join_schema->{'x-id-field'} // "id"
248 0 0 0 $params->{$_} // $inserted_id
249 0 0 0 $params->{$id_field} // $inserted_id
277 0 0 0 +($schema->{'x-view'} || {})->{'schema'} // $schema_name
294 0 0 0 /^$schema_name\./u or not /\./u