Condition Coverage

blib/lib/Class/DBI/FormBuilder.pm
Criterion Covered Total %
condition 0 135 0.0


and 3 conditions

line !l l&&!r l&&r condition
1356 0 0 0 $args{'keepextras'} and $args{'keepextras'} == 1
2038 0 0 0 $column_meta and $column_meta->is_nullable
2238 0 0 0 $form->submitted and $form->validate
2280 0 0 0 $form->submitted and $form->validate
2334 0 0 0 $fb->submitted and $fb->validate
2440 0 0 0 $form->submitted and $form->validate
2527 0 0 0 $form->submitted and $form->validate
2596 0 0 0 $form->submitted and $form->validate
2645 0 0 0 $form->submitted and $form->validate
2674 0 0 0 $form->submitted and $form->validate
2715 0 0 0 exists $args{'validate'} and exists $args{'columns'}
2772 0 0 0 $debug > 1 and @$o
2795 0 0 0 $type eq 'timestamp' && !$v
2797 0 0 0 $skip_ts and $debug > 1
2837 0 0 0 %{{} unless $$fb_defaults{'validate'};} and %{{} unless $$fb_defaults{'auto_validate'};}

or 2 conditions

line l !l condition
828 0 0 $processor->can('field') || die("No field method in $processor")
950 0 0 $them->meta_info($rel_type, $field) || die("No '${rel_type}' meta for '${them}', field '${field}'")
1143 0 0 delete $args_in{'how_many'} || die('need to know how many to build')
1273 0 0 delete $args{$cmp_field_name} || '='
1332 0 0 $them->form_builder_defaults->{'process_fields'} || {}
1333 0 0 delete $args_in{'process_fields'} || {}
1351 0 0 $args{'fields'} ||= [grep({not $pk{$_};} $me->table_meta($them)->columns('All'))]
1372 0 0 $args{'values'} ||= \@values
1382 0 0 delete $args_in{'process_extras'} || []
1398 0 0 delete $args{'process_fields'} || {}
1484 0 0 delete $args{'show_related'} || []
1787 0 0 $them->meta_info('has_a') || (return)
1810 0 0 $me->_field_options($them, $form, $field) || die("No options detected for field '${field}'")
1877 0 0 $them->meta_info('has_many') || (return)
1899 0 0 $me->_field_options($them, $form, $field) || die("No options detected for '${them}' field '${field}'")
1908 0 0 $rel->accessor || die("no accessor for $field")
1947 0 0 $them->meta_info('might_have') || (return)
1962 0 0 $me->_field_options($them, $form, $field) || die("No options detected for '${them}' field '${field}'")
1971 0 0 $rel->accessor || die("no accessor for $field")
2005 0 0 $them->meta_info($rel) || (return)
2366 0 0 $obj->meta_info('has_many') || (return)
2486 0 0 $form->cgi_param($_->mutator) || undef
2721 0 0 delete $args{'columns'} || delete $args{'validate'} || {}
2722 0 0 delete $args{'skip_columns'} || []
2723 0 0 delete $args{'match_columns'} || {}
2724 0 0 delete $args{'validate_types'} || {}
2725 0 0 delete $args{'match_types'} || {}
2751 0 0 $them->form_builder_defaults->{'options'} || {}
2801 0 0 $me->_valid_map($type) || ''
2847 0 0 $$fb_defaults{'auto_validate'}{'debug'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
251 0 0 0 delete $args{'post_process'} || $form->__cdbi_original_args__->{'post_process'}
1216 0 0 0 ref $them || $them
1354 0 0 0 $them->find_column($_) || $_
1375 0 0 0 delete $args_in{'post_process'} || $them->form_builder_defaults->{'post_process'}
0 0 0 delete $args_in{'post_process_args'} || $them->form_builder_defaults->{'post_process_args'}
1669 0 0 0 ref $them || $them
1820 0 0 0 defined $related_object or $nullable
1846 0 0 0 eval { do { $class->can('field') } } or $class->require
2781 0 0 0 $o || $$v_types{$type}
2801 0 0 0 $v ||= $me->_valid_map($type) || ''