Condition Coverage

blib/lib/DBIx/Tree.pm
Criterion Covered Total %
condition 24 47 51.0


and 3 conditions

line !l l&&!r l&&r condition
218 2 0 85 defined $item and $$self{'method'}
2 1 84 defined $item and $$self{'method'} and $level >= $$self{'threshold'}
243 2 85 0 defined $item and $$self{'post_method'}
87 0 0 defined $item and $$self{'post_method'} and $level >= $$self{'threshold'}
358 0 0 0 $$self{'method'} and $level >= $$self{'threshold'}
383 0 0 0 $item and $current
394 0 0 0 $$self{'post_method'} and $level >= $$self{'threshold'}

or 2 conditions

line l !l condition
50 0 4 $$self{'order_direction'} ||= ''
52 4 0 $args{'start_id'} || 1
53 0 4 $args{'threshold'} || 1
57 0 4 $args{'recursive'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
26 0 4 0 ref $proto || $proto
40 1 1 2 $args{'sth'} || $args{'sql'}
48 0 4 0 $$self{'order_column'} ||= $$self{'data_column'}
97 87 7 1 defined $parentid or defined $id
144 1 92 2 not defined $level or $level >= $$self{'threshold'}
176 7 0 0 $$self{'recursive'} || $$self{'threshold'} gt 1 && $$self{'limit'}