Condition Coverage

blib/lib/App/Env.pm
Criterion Covered Total %
condition 45 56 80.3


and 3 conditions

line !l l&&!r l&&r condition
68 2 2 21 not exists $ENV{'APP_ENV_SITE'} and _existsModule("App::Env::Site")
75 2 1 22 defined $ENV{'APP_ENV_SITE'} && length $ENV{'APP_ENV_SITE'}
155 31 0 11 &Scalar::Util::blessed($this) and $this->isa("App::Env")
168 0 9 22 not ref $this and $this eq "App::Env"
174 6 6 2 @_ == 1 and "HASH" eq ref $_[0]
269 6 0 69 @apps == 1 && !ref($apps[0])
355 6 51 17 not $opts{'Force'} and exists $EnvCache{$cacheid}
597 58 5 0 $opt{'Exclude'} and wantarray || @_ == 1 && !ref($_[0])
606 23 6 33 @_ == 1 and not ref $_[0]
891 61 8 16 exists $App::Env::EnvCache{$self->cacheid} and not $opt{'opt'}{'Force'}
920 0 69 7 defined $self->{'opt'}{'AppOpts'} and keys %{$$self{"opt"}{"AppOpts"};}
992 1 0 1 exists $App::Env::EnvCache{$cacheid} and $App::Env::EnvCache{$cacheid}{'pid'} eq $self->{'pid'}

or 2 conditions

line l !l condition
533 6 81 $app_opts ||= {}
535 6 81 $loop ||= 1
657 4 1 $opt{'Exclude'} ||= []
884 80 0 $self->{'opt'}{'AppOpts'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
351 0 74 0 $opts{'CacheId'} || join($;, @cacheids)
571 2 2 5 not ref $_[0] or "ARRAY" eq ref $_[0]
4 3 2 not ref $_[0] or "ARRAY" eq ref $_[0] or "Regexp" eq ref $_[0]
597 0 0 5 wantarray || @_ == 1 && !ref($_[0])