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 ? :
189 1 0 if $self->matches_endpoint($req)
195 1 0 $req->env->{'PATH_INFO'} eq $self->endpoint ? :
200 0 1 if $self->accepts_graphiql($req)
201 1 0 if $self->accepts_graphql($req)
209 0 0 if $self->graphiql and ($req->env->{'HTTP_ACCEPT'} || '') =~ m[^text/html\b] and not defined $req->body_parameters->{'raw'}
215 1 0 ($req->env->{'HTTP_ACCEPT'} || '') =~ m[^application/json\b] ? :
239 0 1 if (ref($results) =~ /Future/) { }