File Coverage

blib/lib/Crypt/XkcdPassword/Words/EN.pm
Criterion Covered Total %
statement 7 7 100.0
branch 3 4 75.0
condition n/a
subroutine 2 2 100.0
pod 0 1 0.0
total 12 14 85.7


line stmt bran cond sub pod time code
1             package Crypt::XkcdPassword::Words::EN;
2             BEGIN {
3 2     2   2067 $Crypt::XkcdPassword::Words::EN::AUTHORITY = 'cpan:TOBYINK';
4 2         178 $Crypt::XkcdPassword::Words::EN::VERSION = '0.005';
5             }
6             my @words;
7             sub words
8             {
9 7 100   7 0 17 unless (@words)
10             {
11 2         11 while ()
12             {
13 20000         18088 chomp;
14 20000 50       58743 push @words, $_ if length;
15             }
16             }
17            
18             \@words
19 7         46 }
20             __PACKAGE__
21             __DATA__