Branch Coverage

inc/Class/Inspector.pm
Criterion Covered Total %
branch 18 92 19.5


line true false branch
113 0 2 unless my $name = $class->_class(shift())
122 1 1 if defined ${"${name}::VERSION";}
123 0 1 if defined @{"${name}::ISA";}
127 0 0 if substr($_, -2, 2) eq '::'
128 0 0 if defined &{"${name}::$_";}
134 0 1 if defined $INC{$filename}
159 0 0 unless my $name = $class->_class(shift())
185 0 0 unless my $filename = $class->_inc_filename(shift())
191 0 0 unless -e $full
192 0 0 $Class::Inspector::UNIX ? :
215 0 0 $Class::Inspector::UNIX ? :
241 0 0 unless my $name = $class->_class(shift())
242 0 0 unless $class->loaded($name)
267 0 0 unless my $name = $class->_class(shift())
268 0 0 unless $class->loaded($name)
296 0 0 unless my $name = $class->_class(shift())
297 0 0 unless my $function = shift()
300 0 0 unless $class->loaded($name)
375 0 2 unless my $name = $class->_class(shift())
381 2 0 if ($_ eq 'public') { }
0 0 elsif ($_ eq 'private') { }
0 0 elsif ($_ eq 'full') { }
0 0 elsif ($_ eq 'expanded') { }
383 0 2 if $options{'private'}
388 0 0 if $options{'public'}
393 0 0 if $options{'expanded'}
398 0 0 if $options{'full'}
408 1 1 unless $class->loaded($name)
438 1 0 if $options{'public'}
439 0 1 if $options{'private'}
442 0 1 if $options{'full'}
444 0 1 if $options{'expanded'}
476 0 0 unless my $name = $class->_class(shift())
483 0 0 if ($class->_loaded($c))
492 0 0 if ($c->isa($name))
494 0 0 unless $c eq $name
505 0 0 @found ? :
511 0 0 if substr($_, -2, 2, '') eq '::'
533 0 0 unless my $name = $class->_class(shift())
543 0 0 unless my $name = $class->_class(shift())
570 0 5 unless my $name = shift()
573 0 5 if $name eq '::'
577 5 0 $name =~ /$Class::Inspector::RE_CLASS/o ? :
584 0 1 unless my $name = $class->_class(shift())
591 0 0 if $Class::Inspector::UNIX
598 0 0 unless my $inc_name = shift()