Condition Coverage

blib/lib/Lemonldap/NG/Common/CGI.pm
Criterion Covered Total %
condition 7 43 16.2


and 2 conditions

line l !l condition
108 2 0 $self->r and 0
136 0 0 $self->r and 0

and 3 conditions

line !l l&&!r l&&r condition
26 0 0 0 $ENV{'MOD_PERL_API_VERSION'} and $ENV{'MOD_PERL_API_VERSION'} >= 2
42 0 1 0 $pkg eq 'Lemonldap::NG::Common::CGI' and @_
1 0 0 $pkg eq 'Lemonldap::NG::Common::CGI' and @_ and $_[0] eq 'fastcgi'
126 2 0 0 $call and not 'debug' =~ /$re/
449 0 0 0 $localIP->find($$self{'ipAddr'}) || $trustedIP->find($$self{'ipAddr'}) and $xheader =~ s/[,\s]*([^,\s]+)$//

or 2 conditions

line l !l condition
246 0 0 $t2 ||= q[See Apache's logs]
302 0 0 $level || 'notice'
359 4 2 shift() || $ENV{'HTTP_ACCEPT_LANGUAGE'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
153 0 0 0 $ENV{'SCRIPT_FILENAME'} || $0
174 0 0 0 $obj || $self
194 1 0 0 $filename ||= $ENV{'SCRIPT_FILENAME'}
274 0 0 0 ref $self || $self
439 0 0 0 $$self{'trustedProxies'} =~ /\*/ or $$self{'useXForwardedForIP'}
449 0 0 0 $localIP->find($$self{'ipAddr'}) || $trustedIP->find($$self{'ipAddr'})