Condition Coverage

lib/Template/Plugin/String.pm
Criterion Covered Total %
condition 25 37 67.5


and 3 conditions

line !l l&&!r l&&r condition
41 4 54 13 @args && ref $args[-1] eq 'HASH'
123 8 9 0 @$filter and ref $filter->[0] || !CORE::length($filter->[0])

or 2 conditions

line l !l condition
164 1 0 CORE::shift() || (return $self)
172 1 0 CORE::shift() || (return $self)
183 2 0 $width ||= 0
198 1 0 $width ||= 0
210 1 0 $width ||= 0
308 2 1 $suffix ||= ''
318 3 3 $offset ||= 0
364 1 4 CORE::shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
43 25 46 0 ref $class || $class
58 3 0 68 $config->{'filter'} || $config->{'filters'}
77 18 0 0 $context->filter($name, $args) || $self->throw($context->error)
123 3 2 4 ref $filter->[0] || !CORE::length($filter->[0])
232 2 0 0 $context->filter($name, \@args) || $self->throw($context->error)