line |
true |
false |
branch |
164
|
0 |
1002 |
if (@_ > 0 and not $self->setFilename(shift())) |
168
|
0 |
1002 |
if (@_ > 0 and not $self->addParams(@_)) |
198
|
1002 |
0 |
if (ref $self) { } |
236
|
0 |
0 |
if (ref $self) { } |
262
|
0 |
1005 |
unless ($filename and -r $filename) |
344
|
0 |
7 |
unless $$self{'content'} |
345
|
0 |
7 |
unless defined $$self{'content'}{'loops'}{$loopname} |
352
|
0 |
3 |
unless ($self->addLoop($loopname, $loop)) |
358
|
1 |
0 |
if (@_ == 0) |
365
|
1 |
5 |
unless ($looptemplate) |
374
|
0 |
1 |
if $$self{'content'}{'studied'} |
443
|
0 |
2 |
unless $$self{'content'} |
444
|
0 |
2 |
unless defined $$self{'content'}{'string'} |
450
|
4 |
2 |
unless $$re_hash{$key} |
451
|
0 |
2 |
if $$content{'skip'}{$key} |
452
|
1 |
1 |
unless ($$content{'string'} =~ /$$re_hash{$key}/) |
462
|
0 |
6 |
if $$content{'skip'}{$key} |
463
|
3 |
3 |
unless ($$content{'string'} =~ /$re/) |
469
|
1 |
1 |
if $$content{'skip'}{'if'} and $$content{'skip'}{'unless'} or $$content{'skip'}{'ifunless'} |
509
|
0 |
22 |
if (not defined $_[0]) { } |
|
10 |
12 |
elsif (ref $_[0]) { } |
|
0 |
12 |
elsif (@_ == 1) { } |
517
|
0 |
10 |
if (ref($ref) =~ /^(?:SCALAR|ARRAY|CODE)$/) |
566
|
501 |
507 |
if $$content{'parsed'} |
586
|
505 |
0 |
if ($tail =~ s/^(.*?)$re2/$start$name$end/s) { } |
610
|
502 |
503 |
if ($$self{'use_cache'}) |
617
|
501 |
504 |
if ($$self{'use_cache'} and exists $$cache{$filename} and $$cache{$filename}{'time'} >= (stat $filename)[9]) { } |
629
|
0 |
504 |
unless (open FILE, $filename) |
638
|
504 |
0 |
if ($$self{'include_files'}) |
643
|
504 |
0 |
if $dir =~ m[[^/]$] |
648
|
1 |
503 |
if ($$self{'use_cache'}) |
669
|
0 |
3010 |
unless $$self{'content'} |
671
|
0 |
3010 |
unless defined $content |
687
|
2510 |
500 |
unless ($$skip{'cond'}) |
691
|
0 |
2510 |
if ($$re_hash{'if'} and $$re_hash{'unless'}) { } |
701
|
0 |
0 |
if ($neg) |
703
|
0 |
0 |
!$params{$1} ? : |
705
|
0 |
0 |
if ($pos) |
707
|
0 |
0 |
$params{$1} ? : |
715
|
9020 |
4012 |
$bool =~ /$$re_hash{'ifunless_test'}/ ? : |
|
10024 |
3008 |
($bool =~ /$$re_hash{'ifunless_test'}/ ? !$params{$var} : $params{$var}) ? : |
723
|
1500 |
7530 |
if $$skip{'vars' . ++$i} |
748
|
0 |
1 |
unless defined $content |
750
|
1 |
0 |
if ($filehandle) { } |