Branch Coverage

blib/lib/Acme/POE/Acronym/Generator.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
16 2 1 unless $opts{'dict'}
17 0 3 if $opts{'key'}
18 0 3 if $opts{'key'}
21 0 3 $opts{'key'} ? :
24 1 2 if ($opts{'wordlist'} and ref $opts{'wordlist'} eq 'ARRAY')
27 0 11 unless /^[$key]\w+$/
32 0 2 if (-e $opts{'dict'}) { }
33 0 0 unless open FH, "< $$self{'dict'}"
36 0 0 unless /^[$key]\w+$/i
59 3 3 wantarray ? :