Condition Coverage

blib/lib/Crypt/HSXKPasswd.pm
Criterion Covered Total %
condition 24 61 39.3


and 2 conditions

line l !l condition
2208 9 0 defined $self->{'_CONFIG'}{'character_substitutions'} and scalar keys %{$$self{'_CONFIG'}{'character_substitutions'};}

and 3 conditions

line !l l&&!r l&&r condition
602 0 1 0 not $options->{'suppress_warnings'} and $options->{'warn_invalid_key_names'}
726 0 0 0 not $is_valid and $options->{'croak'}
929 12 0 23 defined $config->{'padding_character'} and $config->{'padding_character'} eq 'RANDOM'
1006 0 10 10 $config->{'padding_type'} ne 'ADAPTIVE' and not $suppres_warnings
1076 0 10 0 defined $self->{'_CONFIG'}{'word_length_min'} and $self->{'_CONFIG'}{'word_length_max'}
1082 0 0 10 &blessed($dictionary_source) and $dictionary_source->isa($_DICTIONARY_BASE_CLASS)
1968 0 0 90 defined $num and $num =~ /^\d+([.]\d+)?$/sux
0 0 90 defined $num and $num =~ /^\d+([.]\d+)?$/sux and $num >= 0
0 0 90 defined $num and $num =~ /^\d+([.]\d+)?$/sux and $num >= 0 and $num <= 1
2430 4 0 6 $self->{'_CONFIG'}{'padding_type'} ne 'NONE' and $self->{'_CONFIG'}{'padding_character'} eq 'RANDOM'
2583 0 10 10 $self->{'_DICTIONARY_SOURCE'} and &blessed($self->{'_DICTIONARY_SOURCE'})
10 0 10 $self->{'_DICTIONARY_SOURCE'} and &blessed($self->{'_DICTIONARY_SOURCE'}) and $self->{'_DICTIONARY_SOURCE'}->isa($_DICTIONARY_BASE_CLASS)

or 2 conditions

line l !l condition
655 0 6 $options->{'warn'} || 0
723 0 0 &Config()->check($config) || 0
967 10 10 $options->{'suppress_warnings'} || 0
1820 0 10 $options->{'allow_accents'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
663 0 0 0 $warn or _do_debug()
1082 0 0 0 ref $dictionary_source eq '' or ref $dictionary_source eq 'ARRAY'
1278 0 0 0 $new_config->{'word_length_min'} ne $self->{'_CONFIG'}{'word_length_min'} or $new_config->{'word_length_max'} ne $self->{'_CONFIG'}{'word_length_max'}
2390 6 0 4 $self->{'_CONFIG'}{'padding_digits_before'} > 0 or $self->{'_CONFIG'}{'padding_digits_after'} > 0
2393 10 0 0 $self->_passwords_will_contain_symbol or $self->{'_CACHE_CONTAINS_ACCENTS'}