Condition Coverage

blib/lib/ExtJS/Generator/DBIC/Model.pm
Criterion Covered Total %
condition 24 57 42.1


and 3 conditions

line !l l&&!r l&&r condition
251 0 0 4 exists $column_info->{'size'} and not $column_info->{'size'} =~ /,/
260 20 2 6 exists $column_info->{'default_value'} and defined $column_info->{'default_value'}
263 8 2 16 $column_info->{'is_nullable'} and $field_params->{'type'} ne 'date'
276 22 0 6 exists $column_info->{'is_auto_increment'} and $column_info->{'is_auto_increment'}
286 28 0 0 $rsrc->isa('DBIx::Class::DynamicDefault') and exists $column_info->{'dynamic_default_on_create'} && $column_info->{'dynamic_default_on_create'} eq 'get_timestamp' || exists $column_info->{'dynamic_default_on_update'} && $column_info->{'dynamic_default_on_update'} eq 'get_timestamp'
299 28 0 0 exists $column_info->{'set_on_create'} and $column_info->{'set_on_create'}
28 0 0 exists $column_info->{'set_on_update'} and $column_info->{'set_on_update'}
309 28 0 0 exists $column_info->{'store_user_on_create'} and $column_info->{'store_user_on_create'}
28 0 0 exists $column_info->{'store_user_on_update'} and $column_info->{'store_user_on_update'}
319 28 0 0 exists $column_info->{'is_boolean'} and $column_info->{'is_boolean'}
373 0 0 6 $remote_relinfo->{'source'} eq $rsrc->result_class and $rel_col eq $remote_our_col
0 0 6 $remote_relinfo->{'source'} eq $rsrc->result_class and $rel_col eq $remote_our_col and $our_col eq $remote_rel_col
425 4 0 2 $attrs->{'is_foreign_key_constraint'} and $attrs->{'accessor'} eq 'single' || $attrs->{'accessor'} eq 'filter'
449 0 2 0 exists $column_info->{'is_nullable'} and not $column_info->{'is_nullable'}
453 2 0 0 $attrs->{'accessor'} eq 'single' and $attrs->{'is_depends_on'} == 0

or 3 conditions

line l !l&&r !l&&!r condition
286 0 0 0 exists $column_info->{'dynamic_default_on_create'} && $column_info->{'dynamic_default_on_create'} eq 'get_timestamp' || exists $column_info->{'dynamic_default_on_update'} && $column_info->{'dynamic_default_on_update'} eq 'get_timestamp'
299 0 0 28 exists $column_info->{'set_on_create'} and $column_info->{'set_on_create'} or exists $column_info->{'set_on_update'} and $column_info->{'set_on_update'}
309 0 0 28 exists $column_info->{'store_user_on_create'} and $column_info->{'store_user_on_create'} or exists $column_info->{'store_user_on_update'} and $column_info->{'store_user_on_update'}
425 0 2 0 $attrs->{'accessor'} eq 'single' || $attrs->{'accessor'} eq 'filter'