Condition Coverage

blib/lib/HTML/FormFu.pm
Criterion Covered Total %
condition 37 53 69.8


and 3 conditions

line !l l&&!r l&&r condition
252 46 10 403 defined $query and not &blessed($query)
362 393 13 7 defined $indicator and ref $indicator ne 'CODE'
421 960 27 3 not defined $input and $field->default_empty_value
507 572 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Constraint')
547 26 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Inflator')
581 8 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Validator')
615 5 0 0 &blessed($@) and $@->isa('HTML::FormFu::Exception::Transformer')
646 1229 2 1 $skip_private and $field->name =~ /^_/
658 907 2 1 $skip_private && /^_/
728 1 29 86 $self->submitted && !$self->has_errors
848 104 0 0 defined $self->nested_name and $self->nested_name eq $name
997 166 14 2 $self->has_errors and defined $self->form_error_message
1182 3 0 0 $parent and exists $parent->default_args->{'output_processor'}{$type}

or 2 conditions

line l !l condition
1011 0 166 $args_ref ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
215 3 18 0 $model_name ||= $self->default_model
250 412 1 46 $query ||= $self->query
416 1050 0 161 $self->nested_hash_key_exists($self->input, $name) or $field->default_empty_value
997 1 0 182 $self->force_error_message or $self->has_errors and defined $self->form_error_message