Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
296 1 1 35 ref $args and &reftype($args) eq 'HASH'
303 28 4 1 $args->{'format'} and not $args->{'format'} =~ /^(?:h|a)oh$/i
310 1 1 27 defined $args->{'key'} and length $args->{'key'}
313 27 2 1 not exists $args->{'key'} and $data{'format'} ne 'aoh'
380 3181 1045 2 defined $data{'max_rows'} and scalar CORE::keys %parsed_data == $data{'max_rows'}
388 6 3 1 defined $data{'max_rows'} and scalar @parsed_data == $data{'max_rows'}
492 3 3 9 defined $key and $key ne ''
526 3 3 13 defined $args[$i] and $args[$i] ne ''

or 2 conditions

line l !l condition
306 4 28 delete $args->{'format'} || 'hoh'