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
26 0 0 0 ($env->{'CONTENT_TYPE'} || '') =~ /$ct_rx/ and grep(($env->{'REQUEST_METHOD'} eq $_), $class->request_body_methods)
47 0 0 0 defined $meth and '' ne $meth
66 0 0 0 $auth and ($hdr->{'authorization'} || '') =~ /\A\Q$auth\E +([^ ]+) *\z/
77 0 0 0 exists $param{$name} and $value ne $param{$name}
139 0 0 0 exists $p->{$_} && !$confidential->{$_}

or 2 conditions

line l !l condition
26 0 0 $env->{'CONTENT_TYPE'} || ''
53 0 0 $hdr->{'content_type'} || ''
66 0 0 $hdr->{'authorization'} || ''
108 0 0 $self->confidential ||= {}
109 0 0 $self->parameters ||= {}

or 3 conditions

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