Condition Coverage

blib/lib/Metabrik/File/Csv.pm
Criterion Covered Total %
condition 0 84 0.0


and 3 conditions

line !l l&&!r l&&r condition
144 0 0 0 $encoded_fields and exists $encoded_fields->{$k}
0 0 0 $encoded_fields and exists $encoded_fields->{$k} and length $v
160 0 0 0 $object_fields and exists $object_fields->{$k}
0 0 0 $object_fields and exists $object_fields->{$k} and length $v
0 0 0 $object_fields and exists $object_fields->{$k} and length $v and $v =~ /$object_re/ || $v =~ /$base64_re/
273 0 0 0 $self->write_header and $is_new_file || $self->overwrite
300 0 0 0 $encoded_fields and exists $encoded_fields->{$k}
0 0 0 $encoded_fields and exists $encoded_fields->{$k} and length $v
314 0 0 0 $object_fields and exists $object_fields->{$k}
0 0 0 $object_fields and exists $object_fields->{$k} and length $v
317 0 0 0 ref $v eq 'ARRAY' and @$v > 0
0 0 0 ref $v eq 'HASH' and keys %$v > 0
0 0 0 ref $v eq '' and length $v
491 0 0 0 $encoded_fields and exists $encoded_fields->{$k}
0 0 0 $encoded_fields and exists $encoded_fields->{$k} and length $v
507 0 0 0 $object_fields and exists $object_fields->{$k}
0 0 0 $object_fields and exists $object_fields->{$k} and length $v
0 0 0 $object_fields and exists $object_fields->{$k} and length $v and $v =~ /$object_re/ || $v =~ /$base64_re/

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 0 $input ||= $self->input
137 0 0 0 $encoded_fields or $object_fields
160 0 0 0 $v =~ /$object_re/ || $v =~ /$base64_re/
205 0 0 0 $output ||= $self->output
273 0 0 0 $is_new_file || $self->overwrite
292 0 0 0 $encoded_fields or $object_fields
317 0 0 0 ref $v eq 'ARRAY' and @$v > 0 or ref $v eq 'HASH' and keys %$v > 0
428 0 0 0 $input ||= $self->input
484 0 0 0 $encoded_fields or $object_fields
507 0 0 0 $v =~ /$object_re/ || $v =~ /$base64_re/