Condition Coverage

blib/lib/GraphQL/Plugin/Convert/DBIC.pm
Criterion Covered Total %
condition 30 38 78.9


and 2 conditions

line l !l condition
209 6 9 $non_null && 'non_null'
306 0 1 $_[0] && 1
368 107 109 !$info->{'is_nullable'} && 'non_null'

and 3 conditions

line !l l&&!r l&&r condition
139 270 297 174 $modifier eq 'non_null' and ref $typespec eq 'ARRAY'
567 111 63 $modifier eq 'non_null' and ref $typespec eq 'ARRAY' and $typespec->[0] eq 'non_null'
207 6 0 9 ref $field_type eq 'ARRAY' && $field_type->[0] eq 'non_null'
329 1 1 3 $result_process and ref $result ne 'GraphQL::Error'

or 2 conditions

line l !l condition
231 2 0 $property // die("DBIC.resolver could not resolve '${field_name}'\n")
340 6 0 ref $dbic_schema || ''
368 216 0 $rawtype // die("'${column}' unknown data type: @{[lc $info->{'data_type'}];}\n")
384 18 22 $fields{$rel} || {}

or 3 conditions

line l !l&&r !l&&!r condition
123 30 53 0 eval { do { $source->source_name } } || $source
159 27 2 162 $pk21->{$_} || $fk21->{$_}
231 2 0 51 ref $root_value eq 'HASH' or not $root_value->can($field_name)
401 28 0 2 !$name2isview{$_} || keys %{$name2pk21{$_};}