Condition Coverage

blib/lib/Logwatch/RecordTree.pm
Criterion Covered Total %
condition 22 30 73.3


and 3 conditions

line !l l&&!r l&&r condition
298 1 0 0 defined $self->count_fields->[$ii] && defined $other->count_fields->[$ii]

or 2 conditions

line l !l condition
32 94 2 $$_defaults{$name} ||= {}
149 4 87 $type ||= 'Logwatch::RecordTree'
150 6 85 $opts ||= {}
269 49 34 $maxes[$ii] || 0
284 83 0 $$ccf[$ii] || ''
309 63 7 $path ||= []
310 12 58 $parent_indent ||= ''
311 63 7 $depth ||= 1
435 2 0 int $width / $self->col_width || 1

or 3 conditions

line l !l&&r !l&&!r condition
31 95 1 0 ref $self || $self
298 1 0 0 not defined $self->count_fields->[$ii] && defined $other->count_fields->[$ii] or $self->count_fields->[$ii] ne $other->count_fields->[$ii]
362 1 9 0 $self->limit || $child_count