line |
true |
false |
branch |
122
|
0 |
83 |
unless defined $source
|
131
|
0 |
38 |
unless defined $name
|
138
|
113 |
741 |
unless $modifier
|
139
|
63 |
408 |
if $modifier eq 'non_null' and ref $typespec eq 'ARRAY' and $typespec->[0] eq 'non_null'
|
147
|
18 |
50 |
if ref $typespec eq 'HASH'
|
148
|
32 |
18 |
if ref $typespec ne 'ARRAY'
|
206
|
15 |
2 |
unless ($TYPE2SCALAR{_remove_modifiers($field_type)})
|
222
|
3 |
61 |
if ($parent_name eq 'Mutation') { }
|
|
8 |
53 |
elsif ($parent_name eq 'Query') { }
|
228
|
2 |
51 |
ref $root_value eq 'HASH' ? :
|
230
|
0 |
53 |
if ref $property eq 'CODE'
|
231
|
2 |
51 |
if ref $root_value eq 'HASH' or not $root_value->can($field_name)
|
233
|
0 |
51 |
unless UNIVERSAL::isa($root_value, 'DBIx::Class::Core')
|
237
|
8 |
43 |
if $info->{'return_type'}->isa('GraphQL::Type::List')
|
243
|
0 |
13 |
if $field_node->{'kind'} ne 'field'
|
244
|
0 |
13 |
unless $field_node->{'selections'}
|
|
0 |
13 |
unless my(@sels) = @{[] unless $field_node->{'selections'};}
|
245
|
22 |
5 |
unless $_->{'selections'}
|
|
9 |
4 |
unless my(@withsels) = grep(@{[] unless $_->{'selections'};}, @sels)
|
252
|
7 |
1 |
$info->{'return_type'}->isa('GraphQL::Type::List') ? :
|
255
|
1 |
7 |
if ref $args->{'input'} eq 'HASH'
|
264
|
7 |
1 |
if $method eq 'search'
|
271
|
26 |
26 |
if $is_list
|
277
|
27 |
27 |
if $is_list
|
288
|
114 |
0 |
if $list_out
|
291
|
84 |
30 |
if $list_in
|
305
|
0 |
2 |
ref $_[0] eq 'GraphQL::Error' ? :
|
306
|
0 |
1 |
ref $_[0] eq 'GraphQL::Error' ? :
|
311
|
0 |
3 |
unless $name =~ s/^(create|update|delete)//
|
317
|
3 |
0 |
if $args->{'input'}
|
319
|
0 |
3 |
unless $is_list
|
325
|
4 |
1 |
if $find_first
|
326
|
3 |
1 |
$args_process ? :
|
|
4 |
1 |
$operand ? :
|
329
|
3 |
2 |
if $result_process and ref $result ne 'GraphQL::Error'
|
334
|
0 |
3 |
unless $is_list
|
340
|
0 |
6 |
if (ref $dbic_schema || '') eq 'CODE'
|
349
|
2 |
28 |
if $source->can('view_definition')
|
360
|
13 |
203 |
if ('CODE' eq ref $rawtype)
|
362
|
10 |
3 |
unless $seentype{$col_spec->{'name'}}
|
373
|
17 |
199 |
if $info->{'is_foreign_key'}
|
385
|
9 |
31 |
if $non_null
|
386
|
19 |
21 |
if $info->{'attrs'}{'accessor'} eq 'multi'
|
387
|
9 |
31 |
if $non_null
|
427
|
26 |
26 |
$_ ? :
|
|
26 |
4 |
if keys %{$name2pk21{$name};}
|