blib/lib/App/Commando/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 22 | 86.3 |
line | true | false | branch |
---|---|---|---|
41 | 2 | 8 | if defined $version |
48 | 1 | 5 | if defined $syntax |
52 | 1 | 5 | if ($self->parent) |
66 | 2 | 1 | if ($command_name) { } |
67 | 1 | 1 | if (exists $self->commands->{$command_name}) { } |
104 | 1 | 1 | if defined $self->parent |
116 | 11 | 0 | unless ($$self{'_logger'}) |
133 | 0 | 9 | if (defined $$argv[0] and exists $self->commands->{$$argv[0]}) { } |
191 | 0 | 8 | if (not @{$self->actions;} and defined $self->default_command) { } |
204 | 2 | 2 | defined $self->version ? : |
212 | 3 | 9 | $self->parent && $self->parent->full_name ? : |