Branch Coverage

blib/lib/Text/NeatTemplate.pm
Criterion Covered Total %
branch 0 176 0.0


line true false branch
378 0 0 unless $template
386 0 0 if ($targ =~ /^\$(\w+[-:\w]*)$/) { }
0 0 elsif ($targ =~ /^\?([-\w]+)\s(.*)!!(.*)$/) { }
0 0 elsif ($targ =~ /^\?([-\w]+)\s(.*)$/) { }
0 0 elsif ($targ =~ /^\&([-\w:]+)\((.*)\)$/) { }
464 0 0 unless $targ
465 0 0 if ($targ =~ /^\$(\w+[-:\w]*)$/) { }
0 0 elsif ($targ =~ /^\?([-\w]+)\s(.*)!!(.*)$/) { }
0 0 elsif ($targ =~ /^\?([-\w]+)\s(.*)$/) { }
0 0 elsif ($targ =~ /^\&([-\w:]+)\((.*)\)$/) { }
470 0 0 if (defined $val) { }
487 0 0 if ($val) { }
505 0 0 if ($val) { }
561 0 0 if (exists $args{'data_hash'}{$varname}) { }
563 0 0 if (not $args{'show_names'} or $args{'show_names'}{$varname}) { }
584 0 0 if ($value and $self->{'escape_html'})
612 0 0 unless $_ = $style
614 0 0 if /^upper/i
615 0 0 if /^lower/i
616 0 0 defined $value ? :
0 0 if /^int/i
617 0 0 if /^float/i
618 0 0 if /^string/i
619 0 0 if /^trunc(?:ate)?(\d+)/
620 0 0 if /^dollars/i
623 0 0 if /^percent/i
627 0 0 if /^url/i
628 0 0 if /^wikilink/i
629 0 0 if /^email/i
630 0 0 if (/^hmail/i)
635 0 0 if /^html/i
636 0 0 if (/^title/i)
640 0 0 if (/^comma_front/i)
644 0 0 if (/^proper/i)
649 0 0 if (/^date_year/i)
650 0 0 unless $value
654 0 0 if (/^date_mth/i)
655 0 0 unless $value
659 0 0 if (/^date_day/i)
660 0 0 unless $value
664 0 0 if (/^date_month/i)
665 0 0 unless $value
666 0 0 if ($value =~ /^([0-9]+)-([0-9]+)-([0-9]+)/)
673 0 0 if (/^month/i)
676 0 0 if (/^nth/i)
677 0 0 unless $value
678 0 0 $value =~ /3$/ ? :
0 0 $value =~ /2$/ ? :
0 0 $value =~ /1$/ ? :
0 0 $value =~ /1[123]$/ ? :
692 0 0 if (/^facettag/i)
702 0 0 if (/^namedalpha/i)
707 0 0 if (/^alphadash/i)
716 0 0 if (/^alphahyphen/i)
725 0 0 if (/^alphahash/i)
730 0 0 if (/^alpha/i)
734 0 0 if (/^pipetocomma/i)
738 0 0 if (/^pipetoslash/i)
742 0 0 if (/^words(\d+)/)
744 0 0 unless $ct > 0
749 0 0 if (/^wlink_(\w+)/)
753 0 0 if (/^tagify/i)
764 0 0 if (/^item(\d+)/)
766 0 0 unless $ct >= 0
770 0 0 if (/^itemslash(\d+)/)
772 0 0 unless $ct >= 0
776 0 0 if (/^items_(\w+)/)
786 0 0 if (/^itemsjslash_(\w+)/)
796 0 0 if (/^itemsjcomma_(\w+)/)
844 0 0 unless $value
845 0 0 $value == 12 ? :
0 0 $value == 11 ? :
0 0 $value == 10 ? :
0 0 $value == 9 ? :
0 0 $value == 8 ? :
0 0 $value == 7 ? :
0 0 $value == 6 ? :
0 0 $value == 5 ? :
0 0 $value == 4 ? :
0 0 $value == 3 ? :
0 0 $value == 2 ? :
0 0 $value == 1 ? :
902 0 0 unless ($progname)
912 0 0 if ($pid) { }
919 0 0 unless close $fh
927 0 0 unless exec {$progname;} @prog_and_args
946 0 0 unless ($fieldname)
950 0 0 unless ($value)