Condition Coverage

blib/lib/Jifty/DBI/SchemaGenerator.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
174 12 0 2 ref $model and UNIVERSAL::isa($model, 'Jifty::DBI::Record')
268 5 8 37 $model->can('schema_version') and defined $model->schema_version
271 30 6 1 defined $column->since and $model->schema_version < 'version'->new($column->since)
276 30 4 2 defined $column->till and $model->schema_version >= 'version'->new($column->till)
282 5 8 34 $model->can('schema_version') && defined $model->schema_version
34 11 2 not $model->can('schema_version') && defined $model->schema_version and defined $column->till
289 0 39 6 ref $default ne '0' and defined $default
295 0 6 0 defined $default and not length $default