| 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) |
|
85
|
0 |
1 |
unless (ref $local_type) |
|
89
|
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) { } |
|
101
|
0 |
0 |
ref $spec->{'isa'} ? : |
|
115
|
0 |
0 |
ref $spec->{'does'} ? : |
|
127
|
1 |
0 |
if (&blessed($local_type) and not defined $local_multiple) |
|
133
|
1 |
0 |
if (defined $local_type and &blessed($local_type) and not defined $local_choices) |
|
139
|
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) { } |
|
149
|
0 |
1 |
if ($tp->isa('Type::Tiny::Enum')) { } |
|
|
0 |
1 |
elsif ($tp->isa('Moose::Meta::TypeConstraint::Enum')) { } |
|
159
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
|
165
|
1 |
0 |
if (defined $local_type and &blessed($local_type)) |
|
167
|
0 |
1 |
if (eval {
do {
require Types::Path::Tiny
}
}) |
|
169
|
0 |
0 |
$is_path ? : |
|
172
|
0 |
0 |
if (not $is_path and $local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized) |
|
177
|
0 |
0 |
if ($tp <= Types::Path::Tiny::Path()) |
|
184
|
0 |
0 |
if ($is_path) |
|
195
|
0 |
1 |
defined $title ? : |
|
|
0 |
1 |
defined $local_default ? : |
|
203
|
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) { } |
|
227
|
0 |
0 |
if ($is_abs) |
|
238
|
0 |
0 |
$is_abs ? : |
|
249
|
4 |
2 |
if (length $str) { } |
|
255
|
0 |
4 |
if @strings >= 100 |
|
274
|
2 |
0 |
if (&blessed($local_type)) { } |
|
|
0 |
0 |
elsif (ref $local_type) { } |
|
277
|
2 |
0 |
if (not $okay and $local_type->can('has_coercion') and $local_type->has_coercion) |
|
285
|
1 |
1 |
unless ($okay) |
|
294
|
0 |
0 |
unless ($okay) |
|
300
|
0 |
2 |
if ($tries >= 3 and not defined $answer) |
|
306
|
1 |
0 |
if defined $answer |