Branch Coverage

blib/lib/App/Env/_app.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
22 5 87 if (exists $self->{'env'}) { }
23 0 5 unless defined $self->{'opt'}
34 4 83 exists $self->{'opt'}{'Site'} ? :
37 0 0 ref $@ ? :
0 87 if $@ ne ""
43 1 86 unless defined $self->{'module'}
53 17 74 if (App::Env::_Util::existsCacheEntry($self->cacheid) and not $opt{'opt'}{'Force'}) { }
58 5 69 unless $self->{'NoLoad'}
70 86 2 unless defined $cacheid
74 6 82 if (defined $cacheid) { }
75 1 5 $cacheid eq 'AppID' ? :
82 7 75 if defined $self->{'opt'}{'AppOpts'} and keys %{$$self{"opt"}{"AppOpts"};}
86 7 75 if (keys %uniq)
96 7 0 if (defined $ctx)
115 5 67 if exists $self->{'ENV'}
122 0 67 unless $fenvs
127 0 0 ref $@ ? :
0 67 if $@
134 39 28 if $self->{'opt'}{'Cache'}
154 1 1 if App::Env::_Util::existsCacheEntry($cacheid) and App::Env::_Util::getCacheEntry($cacheid)->{'pid'} eq $self->{'pid'}
159 4 24 if (@_ > 1) { }
160 90 247 if (@_ > 1) { }