Condition Coverage

lib/FrameMaker/MifTree.pm
Criterion Covered Total %
condition 27 136 19.8


and 3 conditions

line !l l&&!r l&&r condition
148 0 2 12 ref $mother and $mother->name
183 0 57 0 warnings::enabled() || $^W and not $this->check_attribute
230 13 0 0 ref $that[0] and $that[0]->isa('FrameMaker::MifTree')
302 0 7 0 warnings::enabled() || $^W and not defined $recurse
310 0 26 15 defined $_[0]->name and $_[0]->name eq $name
311 9 6 26 $rec_val and @found
15 26 0 $rec_val and @found and not $wantsarray
351 0 0 0 warnings::enabled() || $^W and not defined $recurse
360 0 0 0 defined $_[0]->attributes and $_[0]->attributes eq $attr
0 0 0 !$name || defined $_[0]->name && $_[0]->name eq $name and (defined $_[0]->attributes and $_[0]->attributes eq $attr)
365 0 0 0 $rec_val and @found
0 0 0 $rec_val and @found and not $wantsarray
401 0 0 0 @found and not $wantsarray
453 0 1 2 @strobj and $strobj[-1]->string =~ /\x09$/
654 0 0 0 defined $value and not defined $unit_to_factor{$value}
855 0 0 0 warnings::enabled() || $^W and not $this->name
907 0 0 0 warnings::enabled() || $^W and not $this->name
1102 0 6 0 warnings::enabled() || $^W and defined $use_unicode_deprecated
1140 0 17 0 warnings::enabled() || $^W and defined $use_unicode_deprecated

or 2 conditions

line l !l condition
153 0 0 $mother->name || ''
0 0 $daughter->name || ''
305 3 4 $rec_val ||= 0
354 0 0 $rec_val ||= 0
1211 0 0 $root ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
151 12 0 0 warnings::enabled() or $^W
183 57 0 0 warnings::enabled() || $^W
227 13 0 0 ref $this || $this
263 0 0 0 ref $this || $this
302 7 0 0 warnings::enabled() || $^W
351 0 0 0 warnings::enabled() || $^W
360 0 0 0 !$name || defined $_[0]->name && $_[0]->name eq $name
616 0 0 0 warnings::enabled() or $^W
855 0 0 0 warnings::enabled() || $^W
858 0 0 0 $this->is_node or defined $this->attributes
859 0 0 0 warnings::enabled() or $^W
907 0 0 0 warnings::enabled() || $^W
910 0 0 0 $this->is_node or defined $this->attributes
911 0 0 0 warnings::enabled() or $^W
987 1 0 0 ref $obj || croak('Must be called on object')
1030 0 0 0 ref $obj || croak('Must be called on object')
1102 6 0 0 warnings::enabled() || $^W
1106 0 0 6 $use_unicode_deprecated or $use_unicode
1140 17 0 0 warnings::enabled() || $^W
1151 0 0 17 $use_unicode_deprecated or $use_unicode
1271 0 0 0 shift() || $default_unit
1273 0 0 0 $old_unit ||= $default_unit
1279 0 0 0 $new_unit eq '"' or $new_unit eq ''