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) |
77
|
0 |
1 |
if (ref $local_default) |
82
|
0 |
1 |
unless (ref $local_type) |
86
|
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) { } |
98
|
0 |
0 |
ref $spec->{'isa'} ? : |
112
|
0 |
0 |
ref $spec->{'does'} ? : |
124
|
1 |
0 |
if (&blessed($local_type) and not defined $local_multiple) |
130
|
1 |
0 |
if (defined $local_type and &blessed($local_type) and not defined $local_choices) |
136
|
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) { } |
146
|
0 |
1 |
if ($tp->isa('Type::Tiny::Enum')) { } |
|
0 |
1 |
elsif ($tp->isa('Moose::Meta::TypeConstraint::Enum')) { } |
156
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
162
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
164
|
0 |
1 |
if (eval {
do {
require Types::Path::Tiny
}
}) |
166
|
0 |
0 |
$is_path ? : |
169
|
0 |
0 |
if (not $is_path and $local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized) |
174
|
0 |
0 |
if ($tp <= Types::Path::Tiny::Path()) |
181
|
0 |
0 |
if ($is_path) |
192
|
0 |
1 |
defined $title ? : |
|
0 |
1 |
defined $local_default ? : |
200
|
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) { } |
224
|
0 |
0 |
if ($is_abs) |
235
|
0 |
0 |
$is_abs ? : |
246
|
4 |
2 |
if (length $str) { } |
252
|
0 |
4 |
if @strings >= 100 |
271
|
2 |
0 |
if (&blessed($local_type)) { } |
|
0 |
0 |
elsif (ref $local_type) { } |
274
|
2 |
0 |
if (not $okay and $local_type->can('has_coercion') and $local_type->has_coercion) |
282
|
1 |
1 |
unless ($okay) |
291
|
0 |
0 |
unless ($okay) |
297
|
0 |
2 |
if ($tries >= 3 and not defined $answer) |
303
|
1 |
0 |
if defined $answer |