Condition Coverage

blib/lib/Lemonldap/NG/Common/Conf.pm
Criterion Covered Total %
condition 7 48 14.5


and 3 conditions

line !l l&&!r l&&r condition
58 0 0 1 @_ and $#_ % 2 == 1
90 5 0 0 $$self{'localStorage'} and not defined $$self{'refLocalStorage'}
145 0 0 0 $$args{'local'} and ref $$self{'refLocalStorage'}
0 0 0 $$args{'local'} and ref $$self{'refLocalStorage'} and my $res = $$self{'refLocalStorage'}->get('conf')
168 0 0 0 ref $r and $$r{'cfgNum'} == $$args{'cfgNum'}
199 0 0 0 defined $$r{'useXForwardedForIP'} and $$r{'useXForwardedForIP'} == 1
219 0 0 0 $$self{'refLocalStorage'} and not $$args{'noCache'}
276 0 1 0 $section eq 'configuration' and not $cfg->SectionExists('configuration')
345 0 0 0 $$self{'refLocalStorage'} and not $$args{'noCache'}

or 2 conditions

line l !l condition
238 1 0 $section ||= 'all'
239 0 0 $$self{'confFile'} || $ENV{'LLNG_DEFAULTCONFFILE'} || '/usr/local/lemonldap-ng/etc/lemonldap-ng.ini'
368 0 0 &{$_[0]{'type'} . '::lastCfg';}(@_) || '0'

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 0 $self->isLocked or not $self->lock
156 0 0 0 $$args{'cfgNum'} ||= $self->lastCfg
239 1 0 0 $file ||= $$self{'confFile'} || $ENV{'LLNG_DEFAULTCONFFILE'} || '/usr/local/lemonldap-ng/etc/lemonldap-ng.ini'
287 0 0 0 $$r{$_} =~ /^[{\[].*[}\]]$/ or $$r{$_} =~ /^sub\s*{.*}$/
306 1 0 3 $$r{$_} =~ /^[{\[].*[}\]]$/ or $$r{$_} =~ /^sub\s*{.*}$/