Condition Coverage

blib/lib/KiokuDB/Backend/DBI.pm
Criterion Covered Total %
condition 20 40 50.0


and 2 conditions

line l !l condition
912 0 1 ref $spec->{'subqueries'} eq 'ARRAY' and scalar @{$spec->{'subqueries'};}

and 3 conditions

line !l l&&!r l&&r condition
63 62 0 0 @args == 1 and ref $args[0] eq 'HASH'
241 0 52 0 $self->for_update && $self->storage->sqlt_type =~ /^(?:MySQL|Oracle|PostgreSQL)$/
430 3325 0 3424 exists $data->{$column} and not ref(my $value = $data->{$column})
642 0 0 0 ref $_ and &refaddr($_) == &refaddr($err)
904 1 9 1 $spec->{'method'} eq 'all' and @v > 1

or 2 conditions

line l !l condition
266 0 99 $rs->column_info($_)->{'extract'} || undef
451 125 0 $self->batch_size || scalar @ids
580 1 5 $keys{$rs_name} ||= []
581 1 5 $ids{$rs_name} ||= []
603 296 0 $self->batch_size || scalar @$ids
718 15 0 $self->batch_size || scalar @ids
755 54 0 $self->batch_size || scalar @$ids

or 3 conditions

line l !l&&r !l&&!r condition
367 0 3 3391 $entry->deleted or not $entry->has_object
370 0 3391 0 $entry->backend_data || $entry->backend_data({})
1009 0 0 0 $args{'class'} || $cmd