Condition Coverage

lib/CellBIS/SQL/Abstract/Table.pm
Criterion Covered Total %
condition 19 47 40.4


and 3 conditions

line !l l&&!r l&&r condition
18 0 0 4 exists $fk->{'name'} and $fk->{'name'} ne ''
21 0 0 4 exists $fk->{'col_name'} and $fk->{'col_name'} ne ''
25 0 0 4 exists $fk->{'table_target'} and $fk->{'table_target'} ne ''
29 0 0 4 exists $fk->{'col_target'} and $fk->{'col_target'} ne ''
122 0 0 0 ref $table_attr->{'index'} eq 'ARRAY' and scalar @{$table_attr->{'index'};} > 0
274 47 0 0 exists $attr->{'default'} and $attr->{'default'} ne ''
275 0 0 0 exists $attr->{'onupdate'} and $attr->{'onupdate'} ne ''
285 47 0 0 exists $attr->{'onupdate'} and $attr->{'onupdate'} ne ''
299 37 0 10 exists $attr->{'is_primarykey'} and $attr->{'is_primarykey'} == 1
303 38 0 9 exists $attr->{'is_autoincre'} and $attr->{'is_autoincre'} == 1
377 0 0 5 exists $table_attr->{'attr'} and $table_attr->{'attr'} ne ''

or 2 conditions

line l !l condition
82 10 0 $self->db_type // 'mariadb'

or 3 conditions

line l !l&&r !l&&!r condition
380 2 1 1 $db_type eq 'sqlite' || $db_type eq 'pg'
384 1 0 0 $db_type eq 'sqlite' || $db_type eq 'pg'
389 0 0 0 $db_type eq 'sqlite' || $db_type eq 'pg'
396 3 1 1 $db_type eq 'sqlite' || $db_type eq 'pg'