Condition Coverage

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


and 2 conditions

line l !l condition
211 6 9 $non_null && 'non_null'
310 0 1 $_[0] && 1
372 107 109 !$info->{'is_nullable'} && 'non_null'

and 3 conditions

line !l l&&!r l&&r condition
141 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'
209 6 0 9 ref $field_type eq 'ARRAY' && $field_type->[0] eq 'non_null'
333 1 1 3 $result_process and ref $result ne 'GraphQL::Error'

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
125 30 53 0 eval { do { $source->source_name } } || $source
161 27 2 162 $pk21->{$_} || $fk21->{$_}
233 45 0 8 ref $root_value eq 'HASH' or not $root_value->can($field_name)
405 28 0 2 !$name2isview{$_} || keys %{$name2pk21{$_};}