Condition Coverage

blib/lib/GraphQL/Language/Receiver.pm
Criterion Covered Total %
condition 18 20 90.0


and 2 conditions

line l !l condition
372 47 3 $type2count{$_} > 1 and die "Must provide only one $_ type in schema.\n"

and 3 conditions

line !l l&&!r l&&r condition
98 18 26 2 $indent < $length and !defined($common_indent) || $indent < $common_indent
109 0 14 14 $start < @lines and $lines[$start] =~ /^[\t ]*$/u
110 0 14 9 $end >= 0 and $lines[$end] =~ /^[\t ]*$/u

or 2 conditions

line l !l condition
97 35 11 ($line =~ /^([\t ]*)/u)[0] || ''
182 4 24 $copy[0] // {}
380 5 191 $copy[0] // {}

or 3 conditions

line l !l&&r !l&&!r condition
98 12 1 15 !defined($common_indent) || $indent < $common_indent