Branch Coverage

blib/lib/Template/Liquid/Tag/Cycle.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
17 0 17 unless defined $args->{'template'}
23 0 17 unless defined $args->{'parent'}
30 0 17 unless defined $args->{'attrs'} and $args->{'attrs'} =~ /\S$/o
32 11 6 if ($args->{'attrs'} =~ /^\s*(.+?)\s*\:\s*(.*)$/o) { }
6 0 elsif ($args->{'attrs'} =~ /^(.+)$/o) { }
34 10 1 if $name =~ /^(['"])(.+)\1$/
54 7 10 if (defined $args->{'template'}{'document'}{'_CYCLES'}{$name}) { }
82 0 28 ref $node ? :
83 4 24 if $s->{'position'} >= scalar @{$s->{'list'};}