Condition Coverage

blib/lib/DBIx/Tree.pm
Criterion Covered Total %
condition 23 50 46.0


and 3 conditions

line !l l&&!r l&&r condition
132 2 0 85 defined $item and $self->{'method'}
0 1 84 defined $item and $self->{'method'} and $level >= $self->{'threshold'}
157 2 85 0 defined $item and $self->{'post_method'}
85 0 0 defined $item and $self->{'post_method'} and $level >= $self->{'threshold'}
227 0 0 0 $self->{'threshold'} gt 1 and $self->{'limit'}
354 0 0 0 $self->{'method'} and $level >= $self->{'threshold'}
373 0 0 0 $item and $current
384 0 0 0 $self->{'post_method'} and $level >= $self->{'threshold'}

or 2 conditions

line l !l condition
198 0 4 $self->{'order_direction'} ||= ''
200 4 0 $args{'start_id'} || 1
201 0 4 $args{'threshold'} || 1
205 0 4 $args{'recursive'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
53 87 7 1 defined $parentid or defined $id
100 1 92 2 not defined $level or $level >= $self->{'threshold'}
174 0 4 0 ref $proto || $proto
188 1 1 2 $args{'sth'} || $args{'sql'}
196 0 4 0 $self->{'order_column'} ||= $self->{'data_column'}
227 7 0 0 $self->{'recursive'} or $self->{'threshold'} gt 1 and $self->{'limit'}