Condition Coverage

blib/lib/Text/Template/Simple.pm
Criterion Covered Total %
condition 10 25 40.0


and 3 conditions

line !l l&&!r l&&r condition
131 78 12 0 $$self[15] && !isaref($$self[15])
149 90 0 0 $$self[28] and not iscref($$self[28])
152 0 90 0 $$self[30] and not isaref($$self[30])

or 2 conditions

line l !l condition
171 178 586 shift() || 'scalar'
218 0 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
109 724 0 0 shift() || fatal('tts.main.connector.args')
110 724 0 0 $CONNECTOR{$id} || fatal('tts.main.connector.invalid', $id)
134 0 0 90 not isaref($d) or $#{$d;} != 1
185 0 6 0 ref $self || $self