| lib/Command/Tree.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 31 | 19.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 1 | 0 | 0 | $argv[0] and not $argv[0] =~ /^\-/ |
| 1 | 0 | 0 | $argv[0] and not $argv[0] =~ /^\-/ and my $class_for_sub_command = $self->class_for_sub_command($argv[0]) | |
| 1 | 0 | 0 | @argv == 1 and $argv[0] =~ /^(\-)?\-h(elp)?$/ |
| line | l | !l | condition |
|---|---|---|---|
| 161 | 0 | 0 | $max_length ||= 79 |
| 189 | 0 | 2 | $sub_command_class->sub_command_category || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 110 | 0 | 0 | 0 | $manual or $help |
| 113 | 0 | 0 | 0 | $manual || $help |
| 311 | 0 | 0 | 0 | ref $class || $class |
| 336 | 0 | 3 | 0 | ref $class || $class |
| 470 | 0 | 3 | 0 | ref $self || $self |
| 514 | 0 | 0 | 0 | ref $self || $self |