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

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
64 5 13 0 $args{'entropy'} || $class->_build_entropy
111 24 17 2 $key eq "words" or $key eq "digits"