Condition Coverage

blib/lib/HTML/FormFu.pm
Criterion Covered Total %
condition 39 53 73.5


and 3 conditions

line !l l&&!r l&&r condition
253 46 9 404 defined $query and not &blessed($query)
365 393 13 7 defined $indicator and ref $indicator ne 'CODE'
424 962 27 6 not defined $input and $field->default_empty_value
510 538 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Constraint')
550 26 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Inflator')
584 8 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Validator')
618 5 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Transformer')
649 1204 2 1 $skip_private and $field->name =~ /^_/
661 908 2 1 $skip_private && /^_/
731 1 29 82 $self->submitted && !$self->has_errors
851 106 0 0 defined $self->nested_name and $self->nested_name eq $name
1000 166 18 2 $self->has_errors and defined $self->form_error_message
1185 3 0 0 $parent and exists $parent->default_args->{'output_processor'}{$type}

or 2 conditions

line l !l condition
1014 0 170 $args_ref ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
216 3 18 0 $model_name ||= $self->default_model
251 412 1 46 $query ||= $self->query
419 1051 6 131 $self->nested_hash_key_exists($self->input, $name) or $field->default_empty_value
1000 1 4 182 $self->force_error_message or $self->has_errors and defined $self->form_error_message