line |
!l |
l&&!r |
l&&r |
condition |
103
|
0 |
0 |
3 |
defined $context and defined $attrs->{'model'}
|
136
|
59 |
6 |
0 |
defined $attrs->{'nested_base'} and !defined($base->nested_name) || $base->nested_name ne $attrs->{'nested_base'}
|
177
|
13 |
134 |
0 |
$has_col and $has_rel
|
|
3 |
10 |
0 |
$field->multi_value and $config->{'default_column'} || ref $dbic->$name && $dbic->$name->can('result_source')
|
238
|
44 |
5 |
235 |
$block->is_field and not $block->is_block
|
245
|
48 |
0 |
1 |
defined(my $label = $config->{'label'}) and $block->can('label')
|
267
|
4 |
2 |
1 |
$dbic->can($rel) and not $dbic->result_source->has_column($rel)
|
271
|
7 |
0 |
13 |
$block->is_repeatable and $block->increment_field_names
|
381
|
96 |
11 |
0 |
defined $attrs->{'nested_base'} and !defined($base->nested_name) || $base->nested_name ne $attrs->{'nested_base'}
|
458
|
268 |
30 |
34 |
defined $attrs->{'from'} and $attrs->{'from'} eq $rs->related_source($rel)->result_class
|
471
|
7 |
8 |
15 |
defined $block and $block->is_repeatable
|
|
4 |
0 |
8 |
defined $block and ref $params eq 'HASH'
|
492
|
2 |
0 |
6 |
not defined $target and grep {length $_;} values %$params
|
532
|
0 |
2 |
0 |
$info->{'attrs'}{'accessor'} and $info->{'attrs'}{'accessor'} eq 'multi'
|
606
|
0 |
1 |
2 |
defined $select_value and length $select_value
|
700
|
3 |
0 |
11 |
$new_rows_max and ++$new_rows_counter <= $new_rows_max
|
|
22 |
14 |
0 |
!defined($value) || $value eq '' and ($new_rows_max and ++$new_rows_counter <= $new_rows_max)
|
802
|
1 |
0 |
2 |
$form->valid($nested_name) and $form->param_value($nested_name)
|
818
|
213 |
0 |
9 |
$is_nullable && $data_type =~ /^timestamp|date|int|float|numeric/i || $field->model_config->{'null_if_empty'} and not ref $value
|
|
213 |
8 |
1 |
$is_nullable && $data_type =~ /^timestamp|date|int|float|numeric/i || $field->model_config->{'null_if_empty'} and not ref $value and $value eq ''
|
831
|
221 |
0 |
28 |
not defined $value and defined $field
|
|
221 |
21 |
7 |
not defined $value and defined $field and $field->isa('HTML::FormFu::Element::Checkbox')
|
|
21 |
4 |
3 |
not defined $value and defined $field and $field->isa('HTML::FormFu::Element::Checkbox') and not $is_nullable
|
860
|
88 |
268 |
0 |
$dbic->result_source->has_column($accessor) && exists $dbic->result_source->column_info($accessor)->{'is_array'}
|
865
|
352 |
4 |
0 |
$config->{'ignore_if_empty'} and !defined($value) || $value eq ''
|
870
|
5 |
12 |
68 |
defined $value && length $value
|
|
270 |
68 |
17 |
$name eq $pk and not defined $value && length $value
|
872
|
0 |
1 |
0 |
defined $value && length $value
|
|
337 |
0 |
1 |
$config->{'delete_if_empty'} and not defined $value && length $value
|
890
|
2 |
326 |
9 |
not $config->{'accessor'} and $dbic->result_source->has_relationship($accessor)
|
|
328 |
5 |
4 |
not $config->{'accessor'} and $dbic->result_source->has_relationship($accessor) and $dbic->result_source->has_column($accessor)
|
|
70 |
5 |
258 |
$dbic->can($accessor) and not $dbic->result_source->relationship_info($accessor)
|
|
75 |
5 |
253 |
$dbic->can($accessor) and not $dbic->result_source->relationship_info($accessor) and not $dbic->can('add_to_' . $accessor)
|
936
|
55 |
0 |
8 |
defined $attrs->{'nested_base'} && defined $_->parent->nested_name
|
949
|
2 |
6 |
0 |
&blessed($related) and $related->can('result_source')
|
1013
|
505 |
99 |
22 |
not $_->is_field and $_->is_repeatable
|
1056
|
0 |
0 |
1 |
$new_rows_max and ++$new_rows_counter <= $new_rows_max
|
|
6 |
1 |
0 |
!defined($value) || $value eq '' and ($new_rows_max and ++$new_rows_counter <= $new_rows_max)
|
1127
|
0 |
0 |
0 |
$form->valid($nested_name) and $form->param_value($nested_name)
|
line |
l |
!l&&r |
!l&&!r |
condition |
104
|
18 |
4 |
0 |
$attrs->{'resultset'} || ucfirst $base->name
|
136
|
6 |
0 |
0 |
!defined($base->nested_name) || $base->nested_name ne $attrs->{'nested_base'}
|
163
|
241 |
0 |
1 |
defined $name or $config->{'accessor'}
|
177
|
0 |
0 |
10 |
$config->{'default_column'} || ref $dbic->$name && $dbic->$name->can('result_source')
|
193
|
0 |
9 |
0 |
$config->{'default_column'} || $dbic->$name->result_source->primary_columns
|
197
|
5 |
2 |
2 |
not defined $info or $info->{'attrs'}{'accessor'} eq 'multi'
|
261
|
15 |
0 |
11 |
$dbic->result_source->relationship_info($rel) || $dbic->can($rel) && $dbic->can('add_to_' . $rel)
|
267
|
19 |
0 |
7 |
$has_rel or $dbic->can($rel) and not $dbic->result_source->has_column($rel)
|
361
|
3 |
0 |
0 |
$attrs->{'resultset'} || $base->model_config->{'resultset'} || $form->model_config->{'resultset'}
|
381
|
3 |
0 |
8 |
!defined($base->nested_name) || $base->nested_name ne $attrs->{'nested_base'}
|
466
|
23 |
0 |
275 |
defined $block or defined $multi_value
|
700
|
5 |
9 |
22 |
!defined($value) || $value eq ''
|
|
3 |
0 |
22 |
not defined $value or $value eq ''
|
818
|
5 |
0 |
217 |
$is_nullable && $data_type =~ /^timestamp|date|int|float|numeric/i || $field->model_config->{'null_if_empty'}
|
855
|
2 |
354 |
0 |
$config->{'accessor'} || $name
|
865
|
1 |
0 |
3 |
!defined($value) || $value eq ''
|
963
|
0 |
5 |
0 |
$config->{'default_column'} || $related->result_source->primary_columns
|
1056
|
0 |
1 |
6 |
!defined($value) || $value eq ''
|
|
0 |
0 |
6 |
not defined $value or $value eq ''
|