Branch Coverage

blib/lib/Forest/Tree.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
84 3 1 defined $child ? :
4 57 unless &blessed($child) and $child->isa(ref $self)
87 4 53 if $self->has_height
88 4 53 if $self->has_size
96 0 1 if $self->is_root
112 0 0 defined $child ? :
0 2 unless &blessed($child) and $child->isa(ref $self)
115 1 1 if $self->has_height
116 1 1 if $self->has_size
130 0 4 defined $child ? :
4 3 unless &blessed($child) and $child->isa(ref $self)
133 1 2 if $self->has_height
134 1 2 if $self->has_size
141 1 1 if $self->has_height
142 1 1 if $self->has_size
152 0 2 unless $self->has_parent
158 0 23 if $self->is_root