blib/lib/Text/Template/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 25 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
132 | 78 | 12 | 0 | $self->[15] && ref $self->[15] ne 'ARRAY' |
150 | 90 | 0 | 0 | $self->[28] and ref $self->[28] ne 'CODE' |
153 | 0 | 90 | 0 | $self->[30] and ref $self->[30] ne 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
172 | 178 | 586 | shift() || 'scalar' |
219 | 0 | 0 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
110 | 724 | 0 | 0 | shift() || fatal('tts.main.connector.args') |
111 | 724 | 0 | 0 | $CONNECTOR{$id} || fatal('tts.main.connector.invalid', $id) |
135 | 0 | 0 | 90 | ref $d ne 'ARRAY' or $#{$d;} != 1 |
186 | 0 | 6 | 0 | ref $self || $self |