line |
true |
false |
branch |
20
|
2 |
0 |
if (my $doc = $self->__meta__->doc) { } |
26
|
0 |
0 |
if (my $doc = $parent->doc) |
101
|
0 |
1 |
$synopsis ? : |
106
|
0 |
1 |
$required_inputs ? : |
111
|
1 |
0 |
$required_params ? : |
116
|
0 |
1 |
$optional_inputs ? : |
121
|
0 |
1 |
$optional_params ? : |
126
|
0 |
1 |
$required_outputs ? : |
131
|
0 |
1 |
$optional_outputs ? : |
142
|
0 |
1 |
$extra_help ? : |
155
|
0 |
0 |
if ref $class |
157
|
0 |
0 |
if @components == 1 |
159
|
0 |
0 |
if $parent->can('command_name') |
174
|
0 |
0 |
$help_brief ? : |
180
|
0 |
0 |
$version ? : |
190
|
0 |
0 |
if ($synopsis) |
199
|
0 |
0 |
if ($required_args) |
208
|
0 |
0 |
if ($optional_args) |
234
|
0 |
0 |
if ($self->can('doc_sub_commands')) |
236
|
0 |
0 |
if ($sub_commands) |
257
|
0 |
0 |
if @txt == 0 or @txt == 1 and not $txt[0] |
259
|
0 |
0 |
if (@txt == 1) { } |
287
|
0 |
0 |
$synopsis ? : |
|
0 |
0 |
$required_args ? : |
|
0 |
0 |
$optional_args ? : |
306
|
0 |
0 |
if ($manual or $help) |
310
|
0 |
0 |
if ($txt =~ /^\=/) { } |
340
|
0 |
0 |
$help_brief ? : |
354
|
0 |
0 |
if ($version) { } |
387
|
0 |
1 |
if ($property_meta->{'shell_args_position'}) |
395
|
0 |
1 |
unless ($doc) |
400
|
0 |
0 |
if ($ancestor_property_meta and $doc = $ancestor_property_meta->doc) |
407
|
0 |
1 |
unless ($doc) |
408
|
0 |
0 |
if (not $valid_values) { } |
415
|
0 |
1 |
if ($valid_values) |
419
|
0 |
0 |
if $max_name_length < length($v) + 2 |
423
|
1 |
0 |
if ($example_values and @$example_values) |
426
|
0 |
1 |
ref $_ ? : |
430
|
1 |
0 |
if $max_name_length < length $param_name |
433
|
1 |
0 |
if (defined $param_type and not $param_type =~ /::/) |
438
|
0 |
1 |
if (defined($default_value = $property_meta->default_value) or defined(my $calculated_default = $property_meta->calculated_default)) |
441
|
0 |
0 |
unless (defined $default_value) |
445
|
0 |
0 |
if ($param_type eq 'Boolean') { } |
|
0 |
0 |
elsif ($property_meta->is_many and ref $default_value eq 'ARRAY') { } |
446
|
0 |
0 |
$default_value ? : |
448
|
0 |
0 |
if (@$default_value) { } |
460
|
0 |
1 |
if ($param_type eq 'Boolean') |
466
|
0 |
1 |
if (defined $format and $format eq 'pod') { } |
|
0 |
1 |
elsif (defined $format and $format eq 'html') { } |
467
|
0 |
0 |
$row->[1] ? : |
|
0 |
0 |
$row->[3] ? : |
470
|
0 |
0 |
$row->[1] ? : |
|
0 |
0 |
$row->[3] ? : |
506
|
0 |
0 |
if @txt == 0 or @txt == 1 and not $txt[0] |
507
|
0 |
0 |
if (@txt == 1) { } |
548
|
0 |
1 |
if ($self->isa('Command::Tree')) { } |
|
1 |
0 |
elsif ($self->can('_execute_body') eq 'Command::V2'->can('_execute_body')) { } |
|
0 |
0 |
elsif ($self->__meta__->is_abstract) { } |
572
|
0 |
0 |
if (length $detailed <= 20) { } |
582
|
5 |
0 |
unless $class |
585
|
0 |
0 |
if (ref $mapping eq 'HASH') { } |
605
|
0 |
0 |
if ($v and $v eq $class) |
612
|
0 |
5 |
if (defined $entry_point_class and $class =~ /^($entry_point_class)(::.+|)$/) |
615
|
0 |
0 |
if ($class =~ s/^:://) |
640
|
0 |
0 |
$i < @COLOR_TEMPLATES ? : |