Condition Coverage

blib/lib/Ask/Question.pm
Criterion Covered Total %
condition 15 68 22.0


and 3 conditions

line !l l&&!r l&&r condition
38 1 0 0 @args == 1 and ref $args[0]
65 1 0 0 &blessed($default) and $default == $self
84 0 0 1 &blessed($ask) and $ask->DOES('Ask::API')
93 0 0 0 defined $local_type and not ref $local_type
0 0 0 defined $spec->{'isa'} and not ref $local_type
0 0 0 defined $spec->{'does'} and not ref $local_type
131 0 0 1 &blessed($local_type) and not defined $local_multiple
137 0 0 1 defined $local_type and &blessed($local_type)
0 0 1 defined $local_type and &blessed($local_type) and not defined $local_choices
143 0 0 1 $local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized
163 0 0 1 defined $local_type and &blessed($local_type)
169 0 0 1 defined $local_type and &blessed($local_type)
176 0 0 0 not $is_path and $local_type <= &Types::Standard::ArrayRef()
0 0 0 not $is_path and $local_type <= &Types::Standard::ArrayRef() and $local_type->is_parameterized
207 0 2 0 $local_multiple and $local_choices
0 2 0 $local_multiple and $is_path
281 0 0 2 not $okay and $local_type->can('has_coercion')
0 0 2 not $okay and $local_type->can('has_coercion') and $local_type->has_coercion
304 2 0 0 $tries >= 3 and not defined $answer

or 2 conditions

line l !l condition
59 0 1 $self->spec || {}

or 3 conditions

line l !l&&r !l&&!r condition
91 0 0 0 $local_type ||= $spec->{'type'}
189 0 0 0 $path_type <= Types::Path::Tiny::Dir() || $path_type <= Types::Path::Tiny::AbsDir()
191 0 0 0 $path_type <= Types::Path::Tiny::AbsPath() || $path_type <= Types::Path::Tiny::AbsFile() || $path_type <= Types::Path::Tiny::AbsDir()