Condition Coverage

blib/lib/Mojo/Console.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
21 0 0 0 $required || $attempts == 10 and not $answer
0 0 0 $required || $attempts == 10 and not $answer and $attempts--
42 0 0 0 &none(sub { lc $answer eq $_; } , 'y', 'yes', 'n', 'no') and $attempts--
67 0 0 0 &none(sub { $answer eq $_; } , @$choices) and $attempts--

or 2 conditions

line l !l condition
36 0 0 $default || ''
37 0 0 $default || ''

or 3 conditions

line l !l&&r !l&&!r condition
21 0 0 0 $required || $attempts == 10
51 0 0 0 $self->input->ask || $default
75 0 0 0 $self->input->ask || $default