Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
41 0 0 0 $self->_required || $attempts == 10 and not $answer
0 0 0 $self->_required || $attempts == 10 and not $answer and $attempts--
69 0 0 0 &none(sub { lc $answer eq $_; } , 'y', 'yes', 'n', 'no') and $attempts--
94 0 0 0 &none(sub { $answer eq $_; } , @$choices) and $attempts--

or 2 conditions

line l !l condition
63 0 0 $default || ''
64 0 0 $default || ''
131 0 0 shift() // 1

or 3 conditions

line l !l&&r !l&&!r condition
41 0 0 0 $self->_required || $attempts == 10
48 0 0 0 $self->input->ask || !$self->_required && $default
78 0 0 0 $self->input->ask || $default
102 0 0 0 $self->input->ask || $default