Condition Coverage

lib/CtrlO/Crypt/XkcdPassword.pm
Criterion Covered Total %
condition 11 13 84.6


and 3 conditions

line !l l&&!r l&&r condition
106 0 25 12 defined $args{$key} and not $args{$key} =~ /^[0-9]+$/

or 2 conditions

line l !l condition
36 2 4 $args{'language'} || 'en-GB'
111 14 13 $args{'words'} || 4

or 3 conditions

line l !l&&r !l&&!r condition
79 1 13 0 $args{'entropy'} || $class->_build_entropy
103 20 17 2 $key eq 'words' or $key eq 'digits'