Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
178 1 1 43 ref $args and reftype $args eq 'HASH'
182 22 19 1 $$args{'file'} and $$args{'components'}
196 1 1 20 ref $$args{'components'} and reftype($$args{'components'}) eq 'HASH'
201 1 2 32 ref $$args{'components'}{$k} and reftype($$args{'components'}{$k}) eq 'ARRAY'
206 1 1 171 ref $row and reftype $row eq 'ARRAY'
287 90 203 2 length $$rec[$$data{'parent_id_col_idx'}] and not $$rec[$$data{'parent_id_col_idx'}] =~ /^\d+$/
350 66 147 4 length $parent_id and not $ids_seen{$parent_id}
689 1 1 8 ref $args and reftype $args eq 'HASH'
697 4 2 1 $$args{'path_col_sep'} and not $$args{'as_string'}

or 3 conditions

line l !l&&r !l&&!r condition
180 20 22 1 $$args{'file'} or $$args{'components'}
710 11 11 50 $f eq $self->id_col or $f eq $self->parent_id_col
22 11 39 $f eq $self->id_col or $f eq $self->parent_id_col or $f eq $self->component_col