| line |
true |
false |
branch |
|
38
|
0 |
1 |
if @args == 1 and ref $args[0] |
|
39
|
1 |
0 |
if @args % 2 |
|
44
|
0 |
0 |
if $_[1] eq 'Ask::Question' |
|
45
|
0 |
0 |
if $_[1] eq 'Class::MOP::Method' |
|
46
|
0 |
0 |
if $_[1] eq 'Moo::Object' |
|
47
|
0 |
0 |
if $_[1] eq 'UNIVERSAL' |
|
60
|
0 |
1 |
$self->has_default ? : |
|
61
|
1 |
0 |
$self->has_text ? : |
|
65
|
0 |
1 |
if &blessed($default) and $default == $self |
|
72
|
0 |
1 |
if (ref $local_text) |
|
75
|
0 |
1 |
unless (defined $local_text) |
|
80
|
0 |
1 |
if (ref $local_default) |
|
84
|
0 |
1 |
unless (&blessed($ask) and $ask->DOES('Ask::API')) |
|
89
|
0 |
1 |
unless (ref $local_type) |
|
93
|
0 |
0 |
if (defined $local_type and not ref $local_type) { } |
|
|
0 |
0 |
elsif (defined $spec->{'isa'} and not ref $local_type) { } |
|
|
0 |
0 |
elsif (defined $spec->{'does'} and not ref $local_type) { } |
|
105
|
0 |
0 |
ref $spec->{'isa'} ? : |
|
119
|
0 |
0 |
ref $spec->{'does'} ? : |
|
131
|
1 |
0 |
if (&blessed($local_type) and not defined $local_multiple) |
|
137
|
1 |
0 |
if (defined $local_type and &blessed($local_type) and not defined $local_choices) |
|
143
|
0 |
1 |
if ($local_type->isa('Type::Tiny::Enum')) { } |
|
|
0 |
1 |
elsif ($local_type->isa('Moose::Meta::TypeConstraint::Enum')) { } |
|
|
1 |
0 |
elsif ($local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized) { } |
|
153
|
0 |
1 |
if ($tp->isa('Type::Tiny::Enum')) { } |
|
|
0 |
1 |
elsif ($tp->isa('Moose::Meta::TypeConstraint::Enum')) { } |
|
163
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
|
169
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
|
171
|
0 |
1 |
if (eval {
do {
require Types::Path::Tiny
}
}) |
|
173
|
0 |
0 |
$is_path ? : |
|
176
|
0 |
0 |
if (not $is_path and $local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized) |
|
181
|
0 |
0 |
if ($tp <= Types::Path::Tiny::Path()) |
|
188
|
0 |
0 |
if ($is_path) |
|
199
|
0 |
1 |
defined $title ? : |
|
|
0 |
1 |
defined $local_default ? : |
|
207
|
0 |
2 |
if ($method) { } |
|
|
0 |
2 |
elsif ($local_multiple and $local_choices) { } |
|
|
0 |
2 |
elsif ($local_choices) { } |
|
|
0 |
2 |
elsif ($local_multiple and $is_path) { } |
|
|
0 |
2 |
elsif ($is_path) { } |
|
|
0 |
2 |
elsif ($is_bool) { } |
|
|
2 |
0 |
elsif ($local_multiple) { } |
|
231
|
0 |
0 |
if ($is_abs) |
|
242
|
0 |
0 |
$is_abs ? : |
|
253
|
4 |
2 |
if (length $str) { } |
|
259
|
0 |
4 |
if @strings >= 100 |
|
278
|
2 |
0 |
if (&blessed($local_type)) { } |
|
|
0 |
0 |
elsif (ref $local_type) { } |
|
281
|
2 |
0 |
if (not $okay and $local_type->can('has_coercion') and $local_type->has_coercion) |
|
289
|
1 |
1 |
unless ($okay) |
|
298
|
0 |
0 |
unless ($okay) |
|
304
|
0 |
2 |
if ($tries >= 3 and not defined $answer) |
|
310
|
1 |
0 |
if defined $answer |