blib/lib/CGI/FormBuilderX/More.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 40 | 45.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
115 | 3 | 0 | 0 | @_ == 1 and ref $_[0] eq 'HASH' |
125 | 2 | 0 | 1 | $$hash{'validate'} and ref $$hash{'validate'} eq 'CODE' |
170 | 0 | 0 | 3 | defined $name and length $name |
229 | 1 | 2 | 0 | wantarray and 1 == @_ |
3 | 0 | 0 | wantarray and 1 == @_ and not ref $_[0] | |
232 | 2 | 0 | 1 | ref $_[0] and ref $_[0] eq 'HASH' |
266 | 2 | 0 | 0 | ref $_[0] and ref $_[0] eq 'HASH' |
358 | 0 | 0 | 3 | $_[0] and ref $_[0] eq 'CODE' |
445 | 0 | 2 | 1 | 1 == @_ && ref $_[0] eq 'ARRAY' |
459 | 0 | 0 | 0 | 1 == @_ && ref $_[0] eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
180 | 1 | 1 | $value || '0E0' |
463 | 3 | 3 | $$self{_attribute('errors')} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
92 | 0 | 0 | 0 | !defined($_[0]) || $_[0] eq '' |
171 | 0 | 3 | 0 | $name =~ /^_submit/i or $name =~ s/^\+// |