Condition Coverage

blib/lib/SLOOPS/Factory.pm
Criterion Covered Total %
condition 1 51 1.9


and 3 conditions

line !l l&&!r l&&r condition
556 0 0 0 ref $value eq 'ARRAY' and $$value[0] eq '='
653 0 0 0 length $cmpvalue > $dbdriver->MaxLength and $$fields{$key}[0] eq $dbdriver->String

or 2 conditions

line l !l condition
51 0 1 $$options{'debug'} || 0
499 0 0 $constraints ||= {}
500 0 0 $existence ||= {}
539 0 0 $constraints ||= {}
540 0 0 $existence ||= {}
623 0 0 $constraints ||= {}
624 0 0 $existence ||= {}
634 0 0 $$persist{'fields'} || {}
635 0 0 $$persist{'references'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
204 0 0 0 $o ||= $oclass->new
300 0 0 0 $realclass ||= $class
381 0 0 0 $realclass ||= $class
462 0 0 0 $$persist{'table'} || confess("No table defined for class $class")
633 0 0 0 $$persist{'table'} || confess("No table defined for class $class")
647 0 0 0 $$value[0] || confess("No operator defined for $key")
685 0 0 0 defined $$fields{$key} or defined $$references{$key}
718 0 0 0 $$persist{'base'} || confess("Must have a super class for $class since it has extra contraints")
783 0 0 0 $$persist{'table'} || confess("No table for class $class")