| blib/lib/Getopt/Yath.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 22 | 45.4 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 0 | 1 | if $params{'inherit'} and $class->can("options") |
| 31 | 16 | 0 | @common ? : |
| 38 | 0 | 0 | unless $INC{$file} |
| 40 | 0 | 0 | unless $module->can("options") |
| 43 | 0 | 0 | @_ && ref $_[0] eq 'ARRAY' ? : |
| 54 | 4 | 0 | if @common |
| 56 | 0 | 4 | unless $cb and ref $cb eq "CODE" |
| 64 | 1 | 1 | @common ? : |
| 66 | 1 | 1 | unless $common->{'no_module'} |
| 73 | 0 | 2 | unless $ok |
| 83 | 0 | 7 | if defined &{"${caller}::$name";} |