Branch Coverage

blib/lib/Text/Lorem/More.pm
Criterion Covered Total %
branch 37 62 59.6


line true false branch
280 0 9 if (@_) { }
281 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (UNIVERSAL::isa($_[0], 'Text::Lorem::More::Source')) { }
0 0 elsif (not defined $_[0]) { }
284 0 0 if ref $source eq 'HASH'
400 9 0 if ($$self{'source'}->find($method)) { }
420 0 5 if $RECURSION >= 4096
422 5 0 unless defined $count
423 0 5 unless $count =~ /^\d+$/
425 5 0 unless defined $separator
435 12 8 ref $_ ? :
437 0 10 if $PRUNE
438 5 5 if 0 == $count or $PRUNE
443 5 0 if 1 == @content
444 0 0 wantarray ? :
455 0 2955 if $RECURSION >= 4096
457 2898 57 unless defined $count
458 0 2955 unless $count =~ /^\d+$/
460 2931 24 unless defined $separator
469 30 5996 if $PRUNE
470 2954 3072 if 0 == $count or $PRUNE
475 2927 27 if 1 == @content
476 0 27 wantarray ? :
485 0 7618 unless $generatelet
488 7459 159 if (ref $generatelet eq 'ARRAY') { }
0 159 elsif (ref $generatelet eq 'SCALAR') { }
159 0 elsif (ref $generatelet eq 'CODE') { }
501 2661 4957 if (ref $content eq 'ARRAY')
503 106 2555 if ref $$content[0] eq 'CODE'
506 106 2555 if $filter
513 9 0 ref $_[0] ? :