Branch Coverage

blib/lib/Class/Handle.pm
Criterion Covered Total %
branch 24 54 44.4


line true false branch
109 0 12 ref $_[0] ? :
112 1 11 unless my $name = shift()
113 1 10 if $name eq '::'
115 2 9 unless $name =~ /^[a-z]\w*((?:'|::)\w+)*$/io
157 1 1 ref $either ? :
175 0 6 unless my $isa = shift()
180 3 3 ref $either ? :
198 0 2 unless my $can = shift()
203 1 1 ref $either ? :
229 2 0 ref $_[0] ? :
249 2 0 ref $_[0] ? :
266 1 0 ref $_[0] ? :
282 1 0 ref $_[0] ? :
298 1 0 ref $_[0] ? :
315 2 0 ref $_[0] ? :
332 2 0 ref $_[0] ? :
350 3 0 ref $_[0] ? :
370 0 0 ref $_[0] ? :
392 1 0 ref $_[0] ? :
415 0 0 ref $_[0] ? :
429 0 0 ref $_[0] ? :
446 0 0 ref $_[0] ? :
464 0 0 unless my $self = shift()
467 0 0 if 'Class::Inspector'->loaded($$self{'name'})
470 0 0 unless my $filename = $self->resolved_filename
473 0 0 unless require $filename
476 0 0 unless my $import = $self->can('import')