Branch Coverage

blib/lib/XAO/Objects.pm
Criterion Covered Total %
branch 32 40 80.0


line true false branch
142 73 0 scalar(@_) % 2 || ref $_[1] ? :
157 12 61 if ($objname eq 'Config')
158 0 12 unless $baseobj or $sitename
166 12 61 $baseobj ? :
169 35 38 if $objref
175 25 13 if ($sitename and not $baseobj)
179 4 34 if ($args->{'include'})
180 4 0 ref $args->{'include'} ? :
183 23 15 if ($current_sitename and $current_sitename eq $sitename)
185 11 12 if ($config and $config->is_embedded('hash') and my $include = $config->get('/xao/objects/include'))
192 31 7 if (@siteinc)
199 18 22 unless -f $objpath
214 21 1 unless ($INC{$pkgfile})
215 0 21 unless open F, $objpath
227 0 21 unless $1
234 0 21 if $@
257 16 22 unless ($objref)
260 1 15 if $@
267 0 37 unless $objref
287 48 0 scalar(@_) % 2 || ref $_[1] ? :