Branch Coverage

blib/lib/Coy.pm
Criterion Covered Total %
branch 11 70 15.7


line true false branch
28 0 0 ref $choice eq 'CODE' ? :
31 0 0 if defined $selection
42 0 0 if $word =~ /^\d+$/
186 0 1 unless ref $hashref eq 'HASH'
195 0 1 unless ref $hashref eq 'HASH'
204 1 0 unless ref $sub
222 0 0 if $noun_only
226 0 0 if $sound and $$agent{$noun}{'sound'}
232 0 0 if ($tries > 20)
233 0 0 if ($associations and not $nonassoc)
238 0 0 unless $assoc and $assoc =~ /$associations/i
241 0 0 if ($tries > 50)
248 0 0 if not defined $min or defined $$agent{$noun}{'minimum'} and $min < $$agent{$noun}{'minimum'}
252 0 0 if not defined $max or defined $$agent{$noun}{'maximum'} and $max > $$agent{$noun}{'maximum'}
256 0 0 unless defined $min and $count < $min or defined $max and $count > $max
269 0 0 if $$agent{$noun}{'personage'}
278 0 0 if $$agent{$noun}{'personage'}
287 0 0 if $non_adjectival or $$agent{$noun}{'personage'}
296 0 0 unless $$agent{$noun}{'act'}{$verb[0]}{'location'}
298 0 0 if $$agent{$noun}{'personage'}
307 0 0 unless $$agent{$noun}{'act'}{$verb[0]}{'location'}
309 0 0 if $$agent{$noun}{'personage'}
319 0 0 unless $$agent{$noun}{'act'}{$verb[0]}{'direction'}
321 0 0 if $$agent{$noun}{'personage'}
333 183 268 if (exists $act{$verb}{'synonyms'})
349 0 23 unless my $categories = $$agent{$noun}{'category'}
353 0 29 unless $$agent_categories{$category}
354 0 29 unless $$agent_categories{$category}{'act'}
359 14 9 unless $$agent{$noun}{'act'}
389 0 0 unless $nonassoc
402 0 0 if ($count < $size - 1 or $count == $size)
404 0 0 $fulltext ? :
418 0 0 if ($message =~ s/(.*)at\s(\S+)\sline\s(\d+.*?)\s*\Z/$1/s) { }
0 0 elsif ($message =~ s/(.*)File\s'([^']+)';\s+Line\s+(\d+.*)/$1/s) { }
793 0 1 if (-f $USER_CONFIG_FILE)