Branch Coverage

blib/lib/GraphQL/Plugin/Type.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
69 0 93 if @_ < 2
0 98 if @_ > 2
0 88 unless ${my $v = bless( {"_overload_coderef" => sub { ;},"_sub_quoted" => 3,"class" => "GraphQL::Type","coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "InstanceOf[\"GraphQL::Type\"]","inlined" => sub { ;},"name" => "__ANON__","uniq" => 99}, 'Type::Tiny::Class' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($type)
79 0 178 if @_ < 1
0 178 if @_ > 1