Branch Coverage

blib/lib/Crypt/HSXKPasswd/Dictionary/Basic.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
67 1 2 unless $encoding
159 3 0 if ($self->{'sources'}{'num_arrays'} or scalar @{$self->{'sources'}{'files'};})
161 1 2 if ($self->{'sources'}{'num_arrays'})
164 0 1 if ($self->{'sources'}{'num_arrays'} and scalar @{$self->{'sources'}{'files'};})
167 2 1 if (scalar @{$self->{'sources'}{'files'};})
224 1 2 unless $encoding
228 1 2 if (ref $dict_source eq 'ARRAY') { }
238 0 2 unless (-f $dict_source)
243 0 2 unless &Crypt::HSXKPasswd::Dictionary::Basic::open(my $WORD_FILE_FH, "<:encoding($encoding)", $dict_source)
249 0 2900 if $line =~ /^\s*$/sux
252 50 2850 if $line =~ /^[#]/sux
259 0 2 unless (scalar @new_words)