Condition Coverage

blib/lib/ETL/Yertl/Command/yq/Regex.pm
Criterion Covered Total %
condition 32 45 71.1


and 3 conditions

line !l l&&!r l&&r condition
193 12 0 7 not $+{'m'} and my $mname = $+{'mn'}
229 154 0 2 $keys[0] && $keys[0] eq '$'
253 29 0 0 $keys[0] && $keys[0] eq '$'
278 0 3 6 defined $lhs_value == defined $rhs_value && $lhs_value eq $rhs_value
286 0 3 11 defined $lhs_value == defined $rhs_value && $lhs_value == $rhs_value

or 2 conditions

line l !l condition
114 56 6 join(', ', grep(defined($_), @args)) || ''
134 3 0 $args[0] ||= '.'
140 4 1 $args[0] ||= '.'
154 4 3 $args[0] ||= '.'
168 12 1 $args[0] ||= '.'
186 7 12 $format ||= 'auto'
267 29 0 $rhs_value // ''
274 58 0 $lhs_value // ''
58 0 $rhs_value // ''

or 3 conditions

line l !l&&r !l&&!r condition
74 263 121 0 $orig_doc ||= $doc
115 7 1 53 $func eq 'select' or $func eq 'grep'
282 0 2 2 defined $lhs_value != defined $rhs_value || $lhs_value ne $rhs_value
290 0 2 2 defined $lhs_value != defined $rhs_value || $lhs_value != $rhs_value