Condition Coverage

blib/lib/DTL/Fast/Tag/For.pm
Criterion Covered Total %
condition 7 28 25.0


and 3 conditions

line !l l&&!r l&&r condition
100 2 0 0 UNIVERSAL::can($source_data, 'as_array') and $source_data = $source_data->as_array($context)
0 0 0 UNIVERSAL::can($source_data, 'as_hash') and $source_data = $source_data->as_hash($context)
164 0 0 0 UNIVERSAL::can($value, 'as_array') and $value = $value->as_array($context)

or 2 conditions

line l !l condition
129 0 0 $self->{'source'}{'original'} // 'undef'
0 0 $source_data // 'undef'
0 0 $source_ref // 'SCALAR'
193 191 0 $self->{'renderers'}[0]->render($context) // ''
229 4 0 $self->{'renderers'}[0]->render($context) // ''

or 3 conditions

line l !l&&r !l&&!r condition
100 43 0 2 $source_ref eq 'ARRAY' or UNIVERSAL::can($source_data, 'as_array') and $source_data = $source_data->as_array($context)
2 0 0 $source_ref eq 'HASH' or UNIVERSAL::can($source_data, 'as_hash') and $source_data = $source_data->as_hash($context)
164 19 0 0 $value_type eq 'ARRAY' or UNIVERSAL::can($value, 'as_array') and $value = $value->as_array($context)