Condition Coverage

blib/lib/DBIx/DBSchema/Column.pm
Criterion Covered Total %
condition 9 38 23.6


and 3 conditions

line !l l&&!r l&&r condition
291 1 0 0 defined $self->length && $self->length
318 1 0 1 defined $self->default and $self->default ne ""
1 1 0 defined $self->default and $self->default ne "" and ref $dbh
1 0 0 defined $self->default and $self->default ne "" and ref $dbh and $dbd->column_value_needs_quoting($self)
458 0 0 0 not $self->null and $new->null
467 0 0 0 $self->null and not $new->null
478 0 0 0 $old_default ne $new_default and uc $old_default ne 'NOW()' || uc $new_default ne 'NOW()'
494 0 0 0 $opt->{'nullify_default'} and $old_default eq "''"
0 0 0 $opt->{'nullify_default'} and $old_default eq "''" and $new->null

or 2 conditions

line l !l condition
276 0 1 $null ||= "NOT NULL"

or 3 conditions

line l !l&&r !l&&!r condition
82 0 1 0 ref $proto || $proto
280 0 0 1 $hashref->{'effective_default'} || $self->quoted_default($dbh)
478 0 0 0 uc $old_default ne 'NOW()' || uc $new_default ne 'NOW()'