| blib/lib/MooX/Cmd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 0 | 12 | unless @caller_isa |
| 24 | 5 | 7 | unless exists $import_options{'execute_from_new'} |
| 29 | 1 | 11 | if defined $import_options{'execute_return_method_name'} |
| 30 | 11 | 1 | unless defined $import_options{'creation_method_name'} |
| 34 | 1 | 11 | if $caller->can('_initialize_from_cmd') |
| 38 | 0 | 11 | if $import_options{'with_config_from_file'} |
| 39 | 0 | 11 | if $import_options{'with_config_from_file'} |
| 55 | 47 | 25 | unless exists $import_options{$opt_key} |
| 56 | 12 | 13 | unless $around |