Branch Coverage

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


line true false branch
142 66 0 scalar(@_) % 2 || ref $_[1] ? :
157 12 54 if ($objname eq 'Config')
158 0 12 unless $baseobj or $sitename
166 12 54 $baseobj ? :
169 29 37 if $objref
175 24 13 if ($sitename and not $baseobj)
179 4 33 if ($args->{'include'})
180 4 0 ref $args->{'include'} ? :
183 22 15 if ($current_sitename and $current_sitename eq $sitename)
185 11 11 if ($config and $config->is_embedded('hash') and my $include = $config->get('/xao/objects/include'))
192 30 7 if (@siteinc)
199 17 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 15 22 unless ($objref)
260 1 14 if $@
267 0 36 unless $objref
287 42 0 scalar(@_) % 2 || ref $_[1] ? :