blib/lib/Class/Autouse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 51 | 64.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
430 | 201 | 423 | 0 | ref $_[0] and $Class::Autouse::NOPREBLESS |
444 | 203 | 12594 | 0 | ref $_[0] and $Class::Autouse::NOPREBLESS |
467 | 0 | 3 | 2125 | $class and $class =~ /^[^\W\d]\w*(?:(?:\'|::)[^\W]\w*)*$/o |
474 | 1115 | 557 | 453 | defined $INC{$file} and $INC{$file} eq 'Class::Autouse' |
594 | 4266 | 574 | 597 | $load and not $Class::Autouse::LOADED{$c} |
680 | 0 | 0 | 2 | -d $child_path_full and -r _ |
702 | 4 | 0 | 1 | -d $full_file and -r _ |
762 | 178 | 3 | 0 | $_ eq 'AUTOLOAD' and \&{"${class}::$_";} == \&_AUTOLOAD |
line | l | !l | condition |
---|---|---|---|
433 | 199 | 2 | ref $_[0] || $_[0] || (return undef) |
447 | 202 | 1 | ref $_[0] || $_[0] || (return undef) |
813 | 3 | 72 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
180 | 577 | 580 | 0 | ref $class eq 'Regexp' or ref $class eq 'CODE' |
221 | 0 | 0 | 970 | $Class::Autouse::DEVEL or $Class::Autouse::BAD{$class} |
229 | 0 | 592 | 0 | $Class::Autouse::NOSTAT or &_file_exists($file) |
434 | 426 | 0 | 196 | $Class::Autouse::TRIED_CLASS{$class} or $Class::Autouse::LOADED{$class} |
448 | 12582 | 0 | 214 | $Class::Autouse::TRIED_CLASS{$class} or $Class::Autouse::LOADED{$class} |
466 | 18 | 0 | 2110 | ref $_[0] || $_[0] |
571 | 0 | 0 | 0 | $ancestors[-1] || $this_class |