Condition Coverage

blib/lib/CAM/Template.pm
Criterion Covered Total %
condition 22 41 53.6


and 3 conditions

line !l l&&!r l&&r condition
164 1001 1 0 @_ > 0 and not $self->setFilename(shift())
168 1002 0 0 @_ > 0 and not $self->addParams(@_)
262 0 1005 0 $filename and -r $filename
347 0 7 0 @_ > 0 and $_[0]
0 3 4 @_ > 0 and $_[0] and ref $_[0]
3 3 1 @_ > 0 and $_[0] and ref $_[0] and ref $_[0] eq 'ARRAY'
469 2 0 0 $$content{'skip'}{'if'} and $$content{'skip'}{'unless'}
617 503 1 501 $$self{'use_cache'} and exists $$cache{$filename}
504 0 501 $$self{'use_cache'} and exists $$cache{$filename} and $$cache{$filename}{'time'} >= (stat $filename)[9]
691 2510 0 0 $$re_hash{'if'} and $$re_hash{'unless'}

or 2 conditions

line l !l condition
613 501 1 $global_filecache{$pkg} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
314 1 0 0 ref $pkg_or_self || $pkg_or_self
469 0 1 1 $$content{'skip'}{'if'} and $$content{'skip'}{'unless'} or $$content{'skip'}{'ifunless'}
700 0 0 0 $neg or $pos