Condition Coverage

blib/lib/Catmandu/Fix.pm
Criterion Covered Total %
condition 19 43 44.1


and 3 conditions

line !l l&&!r l&&r condition
61 150 328 1 ref $fix and ref($fix) =~ /^IO::/
79 0 140 10 $fix =~ /[^\s]/ and not $fix =~ /\(/
105 0 457 9 ref $d and $d == $reject
110 0 14 2 ref $_ && $_ == $reject
118 0 5 0 ref $d and $d == $reject
124 0 1 9 is_instance($data) and is_able($data, "does")
1 0 9 is_instance($data) and is_able($data, "does") and $data->does("Catmandu::Iterable")

or 2 conditions

line l !l condition
117 5 1 &$data() // (return)
154 1 0 $self->_hogan_vars || {}

or 3 conditions

line l !l&&r !l&&!r condition
153 1 0 151 $self->preprocess or $self->_hogan_vars
420 0 0 0 $key eq "\$first" or $key eq "\$last"
0 0 0 $key eq "\$first" or $key eq "\$last" or $key eq "\$prepend"
0 0 0 $key eq "\$first" or $key eq "\$last" or $key eq "\$prepend" or $key eq "\$append"
565 0 0 0 $key eq "\$first" or $key eq "\$last"
0 0 0 $key eq "\$first" or $key eq "\$last" or $key eq "*"