Branch Coverage

blib/lib/GraphQL/Type/NonNull.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
78 0 1 if @_ < 2
0 1 if @_ > 2
0 1 unless ${my $v = bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"_sub_quoted" => 2,"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"display_name" => "to_Any","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Any","inlined" => sub { ;},"library" => "Types::Standard","name" => "Any","uniq" => 1}, 'Type::Tiny' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($item)
79 0 1 unless defined $item and $self->of->is_valid($item)
83 0 75 if @_ < 2
0 75 if @_ > 2
0 75 unless ${my $v = bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"_sub_quoted" => 2,"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"display_name" => "to_Any","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Any","inlined" => sub { ;},"library" => "Types::Standard","name" => "Any","uniq" => 1}, 'Type::Tiny' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($item)