Condition Coverage

blib/lib/Math/Symbolic/Custom/Transformation.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
292 0 114 0 defined $pattern and defined $replacement
385 14 0 0 not ref $hook eq 'ARRAY' and @$hook == 2
493 0 0 0 defined $res and not $@
535 11 11 11 ref($node) =~ /^Math::Symbolic::Variable$/ and $node->name eq 'TRANSFORMATION_HOOK'

or 3 conditions

line l !l&&r !l&&!r condition
286 0 114 0 ref $proto || $proto
306 0 0 112 $@ or not ref $pattern
0 0 112 $@ or not ref $pattern or not $pattern->isa('Math::Symbolic::Custom::Pattern')