Branch Coverage

blib/lib/GraphQL/Error.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
81 0 3957 if @_ < 2
0 3957 if @_ > 2
0 3957 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)
93 0 367 if @_ < 2
0 367 if @_ > 2
0 367 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)
95 282 85 if "GraphQL::Error"->is($item)
97 1 84 !is_Str($item) ? :
120 0 237 if @_ < 1
131 0 99 if @_ < 1
0 99 if @_ > 1