Condition Coverage

blib/lib/Net/OAuth2Server/Request.pm
Criterion Covered Total %
condition 0 31 0.0


and 3 conditions

line !l l&&!r l&&r condition
28 0 0 0 ($env->{'CONTENT_TYPE'} || '') =~ /$ct_rx/ and grep(($env->{'REQUEST_METHOD'} eq $_), $class->request_body_methods)
49 0 0 0 defined $meth and "" ne $meth
68 0 0 0 $auth and ($hdr->{'authorization'} || '') =~ /\A\Q$auth\E +([^ ]+) *\z/
79 0 0 0 exists $param{$name} and $value ne $param{$name}
141 0 0 0 exists $p->{$_} && !$confidential->{$_}

or 2 conditions

line l !l condition
28 0 0 $env->{'CONTENT_TYPE'} || ''
55 0 0 $hdr->{'content_type'} || ''
68 0 0 $hdr->{'authorization'} || ''
110 0 0 $self->confidential ||= {}
111 0 0 $self->parameters ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
26 0 0 0 $loaded ||= require Plack::Request
112 0 0 0 $self->$_ ||= "Net::OAuth2Server::Set"->new($params->{$_})