Branch Coverage

blib/lib/Plack/App/GraphQL.pm
Criterion Covered Total %
branch 8 24 33.3


line true false branch
29 0 0 $class_proto =~ /^\+(.+)$/ ? :
49 0 1 &Plack::Util::is_real_fh($_[0]) ? :
59 0 0 $self->has_convert ? :
73 0 0 $self->has_convert ? :
87 0 1 $self->has_convert ? :
197 1 0 if $self->matches_endpoint($req)
203 1 0 $req->env->{'PATH_INFO'} eq $self->endpoint ? :
208 0 1 if $self->accepts_graphiql($req)
209 1 0 if $self->accepts_graphql($req)
217 0 0 if $self->graphiql and ($req->env->{'HTTP_ACCEPT'} || '') =~ m[^text/html\b] and not defined $req->body_parameters->{'raw'}
223 1 0 ($req->env->{'HTTP_ACCEPT'} || '') =~ m[^application/json\b] ? :
247 0 1 if (ref($results) =~ /Future/) { }