line |
true |
false |
branch |
48
|
26 |
0 |
unless $caller->can('form_builder_defaults') |
68
|
0 |
26 |
if ($args{'BePoliteToFromForm'}) { } |
227
|
0 |
0 |
$args{'fields'} ? : |
242
|
0 |
0 |
if ref $proto |
243
|
0 |
0 |
if $@ |
249
|
0 |
0 |
if (@reqd and not $args{'required'}) |
283
|
0 |
0 |
unless $them->meta_info('has_many') |
345
|
0 |
0 |
unless $related |
347
|
0 |
0 |
ref $related eq 'ARRAY' ? : |
360
|
0 |
0 |
if @$show_related |
370
|
0 |
0 |
unless $them->meta_info('has_many') |
388
|
0 |
0 |
unless ref $them |
407
|
0 |
0 |
unless $args->{'labels'}{$related_field_name} |
419
|
0 |
0 |
if $parent_field->name eq $field_name |
426
|
0 |
0 |
if ($rel_type eq 'has_a') { } |
|
0 |
0 |
elsif ($rel_type eq 'is_a') { } |
449
|
0 |
0 |
unless $related_class |
451
|
0 |
0 |
unless ref $them |
457
|
0 |
0 |
if $@ |
462
|
0 |
0 |
unless @related_objects |
463
|
0 |
0 |
if @related_objects == 1 |
475
|
0 |
0 |
unless $related_meta |
483
|
0 |
0 |
if (@$mapping) { } |
532
|
0 |
0 |
unless ref $them |
537
|
0 |
0 |
if grep {/\./;} @pk |
548
|
0 |
0 |
unless $fake_field_name =~ /PKDATA_(.+)_PKDATA/ |
571
|
0 |
0 |
unless $class |
597
|
0 |
0 |
unless %pk |
666
|
0 |
0 |
unless exists $form->field->{$field} |
668
|
0 |
0 |
if $field->options |
685
|
0 |
0 |
if (my $order_by = delete $args{'search_opt_order_by'}) |
688
|
0 |
0 |
unless ref $order_by |
701
|
0 |
0 |
if (ref $cmp) { } |
748
|
0 |
0 |
if ref $them |
779
|
0 |
0 |
unless exists $form->field->{$field} |
783
|
0 |
0 |
unless @$series |
785
|
0 |
0 |
if ref $them |
804
|
0 |
0 |
if @series = eval {
do {
$them->enum_vals($col)
}
} |
806
|
0 |
0 |
if @series = eval {
do {
$them->set_vals($col)
}
} |
857
|
0 |
0 |
unless exists $form->field->{$field} |
861
|
0 |
0 |
if ($related_class->isa('Class::DBI')) { } |
868
|
0 |
0 |
if (ref $them) |
889
|
0 |
0 |
if ($class->require) { } |
968
|
0 |
0 |
unless $form->{'__cdbi_original_args__'}{'fields'} |
991
|
0 |
0 |
if (ref $them) |
998
|
0 |
0 |
unless $related_class |
1008
|
0 |
0 |
unless ref $obj eq $related_class |
1038
|
0 |
0 |
unless $form->{'__cdbi_original_args__'}{'fields'} |
1052
|
0 |
0 |
if (ref $them) |
1059
|
0 |
0 |
unless $related_class |
1065
|
0 |
0 |
if ($might_have_object) |
1067
|
0 |
0 |
unless ref $might_have_object eq $related_class |
1071
|
0 |
0 |
$might_have_object ? : |
1087
|
0 |
0 |
unless $related_class |
1089
|
0 |
0 |
unless $related_class->isa('Class::DBI') |
1140
|
0 |
0 |
if ref $class |
1149
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1215
|
0 |
0 |
ref $proto ? : |
1217
|
0 |
0 |
unless $them |
1226
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1299
|
0 |
0 |
if $current_items{$item} |
1328
|
0 |
0 |
ref $proto ? : |
1330
|
0 |
0 |
unless $them |
1332
|
0 |
0 |
unless ref $them |
1334
|
0 |
0 |
unless $form->isa('CGI::FormBuilder') |
1343
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1371
|
0 |
0 |
if (ref $entity) { } |
1378
|
0 |
0 |
if $found_pk |
1396
|
0 |
0 |
unless $me->_setup_relationships_between($them, $entity) |
1417
|
0 |
0 |
if ($real_field_name eq $field) { } |
1498
|
0 |
0 |
unless ref $them |
1499
|
0 |
0 |
unless ref $related |
1507
|
0 |
0 |
unless $related_class and ref $them eq $related_class |
1520
|
0 |
0 |
unless $related_class and ref $related eq $related_class |
1562
|
0 |
0 |
if ref $class |
1571
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1577
|
0 |
0 |
if $object |
1605
|
0 |
0 |
if ref $class |
1633
|
0 |
0 |
if ref $class |
1650
|
0 |
0 |
if ref $class |
1659
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1676
|
0 |
0 |
if %search_modifiers |
1685
|
0 |
0 |
$fields ? : |
1696
|
0 |
0 |
@data > 1 ? : |
1721
|
0 |
0 |
if ref $class |
1731
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1736
|
0 |
0 |
unless $search_data{$_} |
1750
|
0 |
0 |
unless (%search_data) |
1756
|
0 |
0 |
%search_modifiers ? : |
1771
|
0 |
0 |
if ref $class |
1780
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1800
|
0 |
0 |
if ref $class |
1809
|
0 |
0 |
unless $fb->submitted and $fb->validate |
1813
|
0 |
0 |
if $object |
1939
|
0 |
0 |
unless $type |
1964
|
0 |
0 |
unless %args |
1966
|
0 |
0 |
if $args{'debug'} |
1983
|
0 |
0 |
if $skip{$col} |
1986
|
0 |
0 |
if $v_cols->{$col} |
1995
|
0 |
0 |
unless ($o) |
1999
|
0 |
0 |
if $args{'debug'} > 1 and @$o |
2000
|
0 |
0 |
unless @$o |
2009
|
0 |
0 |
if $v |
2010
|
0 |
0 |
if $type =~ /$regex/ |
2015
|
0 |
0 |
if $v |
2016
|
0 |
0 |
if $col =~ /$regex/ |
2021
|
0 |
0 |
if $skip_ts and $args{'debug'} > 1 |
2023
|
0 |
0 |
if $skip_ts |
2027
|
0 |
0 |
unless $v |
2030
|
0 |
0 |
$args{'strict'} ? : |
|
0 |
0 |
if $fail |
2033
|
0 |
0 |
unless $type2 eq $type |
2036
|
0 |
0 |
if $args{'debug'} > 1 |
2038
|
0 |
0 |
if $v |
2043
|
0 |
0 |
if ($args{'debug'} > 1) |
2063
|
0 |
0 |
unless $fb_defaults->{'validate'} |
|
0 |
0 |
unless $fb_defaults->{'auto_validate'} |
|
0 |
0 |
if (%{{} unless $fb_defaults->{'validate'};} and %{{} unless $fb_defaults->{'auto_validate'};}) |
2068
|
0 |
0 |
unless $fb_defaults->{'validate'} |
|
0 |
0 |
if %{{} unless $fb_defaults->{'validate'};} |