Condition Coverage

blib/lib/Tree/DAG_Node.pm
Criterion Covered Total %
condition 28 128 21.8


and 3 conditions

line !l l&&!r l&&r condition
79 460 0 9 defined $old_mother and ref $old_mother
460 9 0 defined $old_mother and ref $old_mother and $old_mother eq $mother
82 460 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 700 0 332 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 469 0 0 ref $o->{'daughters'} and @{$o->{'daughters'};}
780 469 0 0 defined $o->{'mother'} and ref $o->{'mother'}
881 0 0 0 ref $lol and $seen_r->{$lol}++
1175 0 0 13 ref $_ and defined $_->{'mother'}
1202 0 0 7 defined $this->{'mother'} && ref $this->{'mother'}
1216 0 9 0 defined $_->{'mother'} && ref $_->{'mother'} && $_->{'mother'} eq $mother
1239 0 0 0 defined $mother and ref $mother
1317 0 0 460 defined $mother and ref $mother
1336 0 0 0 ref $lol and $seen_r->{$lol}++
1615 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 332 0 $hashref ||= {}
990 460 6 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
1369 420 0 $s ||= ""
1462 0 0 $o->{'_depth'} ||= 0
1467 0 0 $o->{'indent'} ||= " "
1470 0 0 $o->{'indent'} ||= ""
1538 0 0 $o->{'_depth'} ||= 0
1543 0 0 $o->{'indent'} ||= " "
1546 0 0 $o->{'indent'} ||= ""
1585 4 2 $options ||= {}
1586 1 5 $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
1334 0 0 0 ref $class || $class
1587 0 6 0 $tree ||= $self
1650 557 0 0 ref $o->{'callback'} or ref $o->{'callbackback'}
1658 0 0 0 $this->name || $this
1675 0 0 0 $this->name || $this
1691 0 0 0 $this->name || $this