Condition Coverage

blib/lib/Class/DBI/FormTools.pm
Criterion Covered Total %
condition 16 20 80.0


and 3 conditions

line !l l&&!r l&&r condition
135 1 23 3 $form_id and $form_id =~ /;/
1 15 8 $form_id and $form_id ne 'new'

or 2 conditions

line l !l condition
49 51 2 $accessor || ''

or 3 conditions

line l !l&&r !l&&!r condition
17 30 23 0 ref $self || $self
23 30 0 23 ref $self or defined $object_id
156 3 6 10 $$processed_data{$class}{$object_id}{'raw'}{$foreign_accessor} ||= $id_field{$foreign_accessor}
222 6 0 0 $type eq 'text' or $type eq 'hidden'