Condition Coverage

lib/UR/DataSource/SQLite.pm
Criterion Covered Total %
condition 36 71 50.7


and 3 conditions

line !l l&&!r l&&r condition
203 132 44 0 $schema_time and -e $db_file && $schema_time > $db_time || -e $dump_file && $schema_time > $dump_time
219 118 19 0 $dump_time and $db_time < $dump_time
237 0 0 0 not -e $db_file and -e $schema_file
528 7 28 23 $col_name and $col_name eq $col
891 7 1414 1 !defined($limit) && $query_plan->offset
1004 90 0 0 $schema_name and not $self->is_schema_attached($schema_name, $dbh)

or 2 conditions

line l !l condition
364 0 0 $info->{'TABLE_SCHEM'} ||= 'main'
604 226 50 $accept_rows ||= sub { 1; }
606 8 268 $fk_schema_name ||= 'main'
683 3 10 $ret->{$idx_name} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
88 2 0 0 -f $main_schema_file or UR::Util::touch_file($main_schema_file)
203 0 0 44 -e $db_file && $schema_time > $db_time || -e $dump_file && $schema_time > $dump_time
301 2 0 22 $self->{'_has_sequence_generator'}{$seq_table} or grep {$_ eq $seq_table;} $self->get_table_names
351 29 0 0 $sqlite_version >= $needed_version or not $sth
426 21 0 47 $schema || $override_owner
545 8 33 0 $fk_name ||= join('_', $table_name, @$column_list, $r_table_name, @$r_column_list, 'fk')
582 38 50 0 $pk_table || $fk_table
714 0 0 38 $self->dump_on_commit or -e $dump_filename
863 29 1 0 $dbh ||= $self->get_default_handle
953 2 0 9 $col =~ /\D/ or length $col == 0
996 38 0 207 -d $pathname || $pathname =~ m[/$]
1001 90 0 0 $dbh ||= $self->get_default_handle
1026 0 0 0 $dbh ||= $self->get_default_handle
1029 0 0 0 $dbh->prepare('PRAGMA database_list') || Carp::croak('Cannot list attached databases: ' . $dbh->errstr)
1038 0 0 0 $dbh ||= $self->get_default_handle