blib/lib/HTML/FormHandler/Model/CDBI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 54 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 0 | 0 | 0 | $class and $class->isa('Class::DBI') |
87 | 0 | 0 | 0 | defined $sort_col && $f_class->find_column($sort_col) |
103 | 0 | 0 | 0 | $self->item and defined $field->init_value |
113 | 0 | 0 | 0 | $active_col && !$_->$active_col |
130 | 0 | 0 | 0 | $item and $item->can($column) || ref $item eq 'HASH' && exists $item->{$column} |
140 | 0 | 0 | 0 | ref $_ && $_->isa('Class::DBI') |
205 | 0 | 0 | 0 | $value and $cur |
0 | 0 | 0 | $value and $cur and $value eq $cur | |
270 | 0 | 0 | 0 | defined $item1 and defined $item2 |
line | l | !l | condition |
---|---|---|---|
173 | 0 | 0 | $class->search({$name, $value})->first || (next) |
175 | 0 | 0 | $field->unique_message || 'Value must be unique in the database' |
278 | 0 | 0 | $item->$_ || '.' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 0 | 0 | $class ||= $self->item_class |
125 | 0 | 0 | 0 | $item ||= $self->item |
130 | 0 | 0 | 0 | $item->can($column) || ref $item eq 'HASH' && exists $item->{$column} |
165 | 0 | 0 | 0 | ref $item || $self->item_class |
188 | 0 | 0 | 0 | ref $item || $self->item_class |
204 | 0 | 0 | 0 | $value or $cur |
268 | 0 | 0 | 0 | defined $item1 or defined $item2 |