blib/lib/Autoload/AUTOCAN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
51 | 2 | 1 | unless defined $style |
55 | 2 | 1 | if ($style eq 'methods') { } |
1 | 0 | elsif ($style eq 'functions') { } | |
66 | 0 | 3 | unless (eval "package $target;\n$install_can\n$autoload_code\n1") |
2 | 5 | defined $autocan ? : | |
1 | 6 | unless defined $sub and do { local $@; eval { do { $sub = \&$sub } } } | |
20 | 6 | if defined $sub | |
2 | 9 | if $function eq 'AUTOCAN' | |
6 | 0 | defined $autocan ? : | |
72 | 0 | 3 | if $errored |