Condition Coverage

blib/lib/Tree/DAG_Node.pm
Criterion Covered Total %
condition 27 128 21.0


and 3 conditions

line !l l&&!r l&&r condition
79 65 0 9 defined $old_mother and ref $old_mother
65 9 0 defined $old_mother and ref $old_mother and $old_mother eq $mother
82 65 0 9 defined $old_mother and ref $old_mother
129 0 0 0 defined $address and length $address
159 0 0 0 defined($mother = $current_node->{'mother'}) and ref $mother
184 91 0 118 defined($mama = $mama->{'mother'}) and ref $mama
540 0 43 1 $o->{'h_compact'} && $to_chop
628 0 4 26 $o->{'v_compact'} == 1 and @daughters == 1
704 0 0 0 defined $node->{'mother'} && ref $node->{'mother'}
765 71 0 0 ref $o->{'daughters'} and @{$o->{'daughters'};}
780 71 0 0 defined $o->{'mother'} and ref $o->{'mother'}
881 0 0 0 ref $lol and $seen_r->{$lol}++
1171 0 0 13 ref $_ and defined $_->{'mother'}
1198 0 0 7 defined $this->{'mother'} && ref $this->{'mother'}
1212 0 9 0 defined $_->{'mother'} && ref $_->{'mother'} && $_->{'mother'} eq $mother
1235 0 0 0 defined $mother and ref $mother
1313 0 0 65 defined $mother and ref $mother
1332 0 0 0 ref $lol and $seen_r->{$lol}++
1611 0 0 0 defined $mother and ref $mother

or 2 conditions

line l !l condition
75 0 0 $daughter->name || 'no_name'
0 0 $mother->name || 'no_name'
664 0 0 $o->{'_depth'} ||= 0
665 0 0 $o->{'indent'} ||= ' '
666 0 0 $o->{'tick'} ||= ''
724 68 0 $hashref ||= {}
990 65 3 scalar $node->ancestors || 0
1037 0 0 $o->{'min_depth'} || 2
1039 0 0 $o->{'max_children'} || 4
1040 0 0 $o->{'max_node_count'} || 25
1365 22 0 $s ||= ''
1458 0 0 $o->{'_depth'} ||= 0
1463 0 0 $o->{'indent'} ||= ' '
1466 0 0 $o->{'indent'} ||= ''
1534 0 0 $o->{'_depth'} ||= 0
1539 0 0 $o->{'indent'} ||= ' '
1542 0 0 $o->{'indent'} ||= ''
1581 1 2 $options ||= {}
1582 0 3 $options->{'no_attributes'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 0 $daughter->name || $daughter
0 0 0 $mother->name || $mother
704 0 0 0 $node eq $limit or not defined $node->{'mother'} && ref $node->{'mother'}
883 0 0 0 ref $class || $class
1038 0 0 0 $o->{'max_depth'} || $min_depth + 3
1330 0 0 0 ref $class || $class
1583 0 3 0 $tree ||= $self
1646 159 0 0 ref $o->{'callback'} or ref $o->{'callbackback'}
1654 0 0 0 $this->name || $this
1671 0 0 0 $this->name || $this
1687 0 0 0 $this->name || $this