line |
true |
false |
branch |
113
|
40 |
8 |
if ($self->result_source->column_info($field)->{'validation'})
|
117
|
24 |
16 |
if (ref $self->result_source->column_info($field)->{'validation'} ne 'ARRAY') { }
|
123
|
40 |
0 |
if (scalar @{$validations;} > 0)
|
144
|
5 |
3 |
if defined $self->result_errors
|
180
|
3 |
5 |
if (defined $self->result_errors) { }
|
182
|
1 |
2 |
if (defined $self->result_errors->{$key}) { }
|
216
|
0 |
1 |
if (my $columns = shift())
|
229
|
3 |
5 |
if ($self->validate) { }
|
240
|
0 |
5 |
unless defined $self->result_errors
|
241
|
0 |
5 |
if ref $error eq 'DBIx::Class::Result::Validation::VException'
|
295
|
3 |
13 |
if not defined $self->$field || defined $self->result_source->columns_info->{$field}{'default_value'} or defined $self->$field and not $self->$field ~~ \@{$self->result_source->columns_info->{$field}{'extra'}{'list'};}
|
309
|
2 |
22 |
unless defined $self->$field
|
322
|
0 |
8 |
if defined $self->$field and $self->$field eq ''
|
336
|
1 |
7 |
if not $self->$field
|