line |
true |
false |
branch |
32
|
0 |
0 |
if ($self->is_required) { }
|
38
|
0 |
0 |
if ($self->has_type_constraint)
|
40
|
0 |
0 |
if ($type_constraint->is_a_type_of('Bool')) { }
|
46
|
0 |
0 |
if (scalar @tags)
|
57
|
0 |
0 |
if ($self->has_cmd_term_label) { }
|
|
0 |
0 |
elsif ($self->has_documentation) { }
|
69
|
0 |
0 |
if ($self->has_type_constraint and $self->type_constraint->is_a_type_of('Bool')) { }
|
86
|
0 |
0 |
if ($self->has_type_constraint)
|
88
|
0 |
0 |
if ($type_constraint->isa('Moose::Meta::TypeConstraint::Enum')) { }
|
|
0 |
0 |
elsif (not $type_constraint->has_coercion) { }
|
92
|
0 |
0 |
if ($type_constraint->is_a_type_of('Int')) { }
|
|
0 |
0 |
elsif ($type_constraint->is_a_type_of('Num')) { }
|
100
|
0 |
0 |
unless scalar @history
|
106
|
0 |
0 |
if (not $history_disable and defined $entry and not $entry =~ /^\s*$/ and not $entry ~~ \@history)
|
117
|
0 |
0 |
if defined $return and not $return =~ /^\s*$/
|
122
|
0 |
0 |
if (defined $Term::ANSIColor::VERSION) { }
|
138
|
0 |
0 |
if ($key_code == 10) { }
|
|
0 |
0 |
elsif ($key_code == 27) { }
|
|
0 |
0 |
elsif ($key_code == 127) { }
|
141
|
0 |
0 |
if ($return =~ /^\s*$/) { }
|
142
|
0 |
0 |
if ($self->is_required) { }
|
151
|
0 |
0 |
if ($error) { }
|
152
|
0 |
0 |
if (defined $Term::ANSIColor::VERSION) { }
|
166
|
0 |
0 |
unless defined $code
|
169
|
0 |
0 |
if (defined $escape) { }
|
172
|
0 |
0 |
if ($cursor > 0)
|
178
|
0 |
0 |
if ($cursor < length $return)
|
189
|
0 |
0 |
if defined $history[$history_index] and $history[$history_index] eq $return
|
192
|
0 |
0 |
unless defined $history[$history_index]
|
201
|
0 |
0 |
if ($cursor != length $return)
|
225
|
0 |
0 |
if ($cursor == 0)
|
233
|
0 |
0 |
if ($_ <= 31) { }
|
|
0 |
0 |
elsif (defined $allowed and not $key =~ /$allowed/) { }
|
259
|
0 |
0 |
if (defined $Term::ANSIColor::VERSION) { }
|
269
|
0 |
0 |
if ($key =~ /^[yn]$/i) { }
|
|
0 |
0 |
elsif (ord $key == 10 || ord $key == 27 and not $self->is_required) { }
|
|
0 |
0 |
elsif (ord $key == 3) { }
|
271
|
0 |
0 |
uc $key eq 'Y' ? :
|