Condition Coverage

blib/lib/Tree.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
95 1 3 217 &blessed($node) and $node->isa("Tree")
224 1 4 13 $rv &&= exists $temp{&refaddr($_)}
370 2 70 152 @$params and not &blessed($params->[0])
72 11 141 @$params and not &blessed($params->[0]) and ref $params->[0] eq "HASH"

or 2 conditions

line l !l condition
395 0 0 $hashref ||= {}
430 0 0 $options ||= {}
431 0 0 $options->{'no_attributes'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
87 1 1 9 $options->{'at'} > $num_children or $num_children + $options->{'at'} < 0
147 1 1 7 $proto >= $num_children or $num_children + $proto <= 0