Condition Coverage

lib/Text/CSV/Hashify.pm
Criterion Covered Total %
condition 23 23 100.0


and 3 conditions

line !l l&&!r l&&r condition
247 1 1 21 ref $args and &reftype($args) eq 'HASH'
254 15 3 1 $args->{'format'} and not $args->{'format'} =~ /^(?:h|a)oh$/i
259 15 2 1 not exists $args->{'key'} and $data{'format'} ne 'aoh'
313 100 21 1 defined $data{'max_rows'} and scalar CORE::keys %parsed_data == $data{'max_rows'}
321 6 3 1 defined $data{'max_rows'} and scalar @parsed_data == $data{'max_rows'}
424 3 3 9 defined $key and $key ne ''
458 3 3 13 defined $args[$i] and $args[$i] ne ''

or 2 conditions

line l !l condition
257 3 15 delete $args->{'format'} || 'hoh'