Condition Coverage

blib/lib/Bot/Cobalt/Frontend/Utils.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
36 1 0 0 defined $default and $ret eq ''
86 0 2 2 $input and $input eq 'y'

or 3 conditions

line l !l&&r !l&&!r condition
21 1 0 0 delete $args{'prompt'} || croak('No prompt => specified')
51 0 0 0 $args{'die_if_invalid'} or $args{'die_unless_valid'}
65 4 0 0 $args{'prompt'} || croak('No prompt => specified')
68 4 0 0 substr($args{'default'} || '', 0, 1) || croak('No default => specified')
86 2 2 0 $input and $input eq 'y' or $input eq 'n'