Condition Coverage

lib/DBIx/Oro/Driver/SQLite.pm
Criterion Covered Total %
condition 31 89 34.8


and 3 conditions

line !l l&&!r l&&r condition
91 20 0 1 $$self{'init'} and (ref $$self{'init'} || '') eq 'CODE'
99 1 20 0 $self->created and $import || $cb
172 21 0 0 defined $$self{'tid'} and $$self{'tid'} != 'threads'->tid
215 0 3 5 $_[-1] and ref $_[-1]
3 0 5 $_[-1] and ref $_[-1] and ref $_[-1] eq 'HASH'
270 31 825 0 ref $_[0] eq 'HASH' and ref $_[1]
293 825 0 0 $prop and my $oc = $$prop{-'on_conflict'}
426 1 3 3 $rv and $type eq 'insert'
4 3 0 $rv and $type eq 'insert' and ${$$self{'autocommit'};}
477 0 0 0 $_[0] and $_[0] =~ /^[pcnalsx]+$/i
486 0 0 0 $_[0] and $_[0] =~ /^[pcnalsx]+$/i
659 0 0 0 $_[0] and not $$self{'foreign_keys'}
0 0 0 not $_[0] and $$self{'foreign_keys'}
694 0 0 0 $num and $num =~ /^\d+/o

or 2 conditions

line l !l condition
38 0 21 $param{'created'} //= 0
46 21 0 $param{'file'} // ''
91 1 0 ref $$self{'init'} || ''
144 0 24 $$self{'busy_timeout'} || 300
157 0 0 $_[0]{'file'} // ''
216 0 5 delete $_[-1]{-'secure'} || 0
437 1 0 $file //= ''
483 0 0 shift() || 'content'
584 0 0 ($column // $field) // 'content'
685 0 0 ${$$self{'autocommit'};} || 0

or 3 conditions

line l !l&&r !l&&!r condition
49 1 18 2 not $file or $file eq ':memory:'
99 0 1 19 $import || $cb
282 0 0 1248 ref $key or $key =~ /$DBIx::Oro::KEY_REGEX/
535 0 0 0 $_ eq 'p' or $_ eq 'c'
0 0 0 $_ eq 'p' or $_ eq 'c' or $_ eq 'n'
0 0 0 $_ eq 'a' or $_ eq 'l'
0 0 0 $_ eq 'a' or $_ eq 'l' or $_ eq 's'
584 0 0 0 $column // $field
616 3 2 0 $snippet{$_} // $default[$i]