Condition Coverage

blib/lib/DBIx/Class/Schema/Loader/DBI/mysql.pm
Criterion Covered Total %
condition 0 43 0.0


and 3 conditions

line !l l&&!r l&&r condition
39 0 0 0 $self->db_schema and $self->db_schema->[0] eq "%"
235 0 0 0 $data_type eq "bit" and not exists $info->{'size'}
0 0 0 $data_type =~ /^(?:enum|set)\z/ and $has_information_schema
0 0 0 $data_type =~ /^(?:enum|set)\z/ and $has_information_schema and $column_type =~ /^(?:enum|set)\(/
239 0 0 0 defined $precision and defined $scale
240 0 0 0 $precision == 10 and $scale == 0
257 0 0 0 defined $self->datetime_undef_if_invalid and $self->datetime_undef_if_invalid == 0
275 0 0 0 exists $info->{'default_value'} and $info->{'default_value'} eq ""
304 0 0 0 not &blessed($dbi_info) and lc $dbi_info->{'COLUMN_DEF'} eq "current_timestamp"
0 0 0 not &blessed($dbi_info) and lc $dbi_info->{'COLUMN_DEF'} eq "current_timestamp" and lc $dbi_info->{'mysql_type_name'} eq "timestamp"

or 2 conditions

line l !l condition
146 0 0 $attrs{'on_delete'} ||= "RESTRICT"
147 0 0 $attrs{'on_update'} ||= "RESTRICT"

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 not $f_schema or lc $_->schema eq lc $f_schema
115 0 0 0 $f_schema || $self->db_schema && @{$self->db_schema;} == 1 && $self->db_schema->[0]
249 0 0 0 $column_type =~ /\(4\)/ or $info->{'size'} == 4