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
105 0 25 12 defined $args{$key} and not $args{$key} =~ /^[0-9]+$/

or 2 conditions

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

or 3 conditions

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