Condition Coverage

lib/CellBIS/SQL/Abstract/Table.pm
Criterion Covered Total %
condition 12 35 34.2


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 2 exists $fk->{'name'} and $fk->{'name'} ne ''
26 0 0 2 exists $fk->{'col_name'} and $fk->{'col_name'} ne ''
30 0 0 2 exists $fk->{'table_target'} and $fk->{'table_target'} ne ''
34 0 0 2 exists $fk->{'col_target'} and $fk->{'col_target'} ne ''
124 0 0 0 ref $table_attr->{'index'} eq 'ARRAY' and scalar @{$table_attr->{'index'};} > 0
261 14 0 0 exists $attr->{'default'} and $attr->{'default'} ne ''
262 0 0 0 exists $attr->{'onupdate'} and $attr->{'onupdate'} ne ''
271 14 0 0 exists $attr->{'onupdate'} and $attr->{'onupdate'} ne ''
284 10 0 4 exists $attr->{'is_primarykey'} and $attr->{'is_primarykey'} == 1
288 10 0 4 exists $attr->{'is_autoincre'} and $attr->{'is_autoincre'} == 1
359 0 0 3 exists $table_attr->{'attr'} and $table_attr->{'attr'} ne ''

or 2 conditions

line l !l condition
90 4 0 $self->db_type // 'mysql'