Condition Coverage

lib/Parse/Taxonomy/AdjacentList.pm
Criterion Covered Total %
condition 36 36 100.0


and 3 conditions

line !l l&&!r l&&r condition
178 1 1 50 ref $args and &reftype($args) eq 'HASH'
200 1 1 20 ref $args->{'components'} and &reftype($args->{'components'}) eq 'HASH'
206 1 2 32 ref $args->{'components'}{$k} and &reftype($args->{'components'}{$k}) eq 'ARRAY'
209 1 1 171 ref $row and &reftype($row) eq 'ARRAY'
290 103 277 2 length $$rec[$data->{'parent_id_col_idx'}] and not $$rec[$data->{'parent_id_col_idx'}] =~ /^\d+$/
353 79 221 4 length $parent_id and not $ids_seen{$parent_id}
686 1 1 11 ref $args and &reftype($args) eq 'HASH'
694 7 2 1 $args->{'path_col_sep'} and not $args->{'as_string'}
838 1 1 6 ref $args and &reftype($args) eq 'HASH'
844 1 1 3 ref $args->{'pathified'} and &reftype($args->{'pathified'}) eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
707 17 17 64 $f eq $self->id_col or $f eq $self->parent_id_col
34 17 47 $f eq $self->id_col or $f eq $self->parent_id_col or $f eq $self->leaf_col