Condition Coverage

blib/lib/Class/props.pm
Criterion Covered Total %
condition 19 29 65.5


and 2 conditions

line l !l condition
32 54 0 $prop->{'allowed'} &&= [$prop->{'allowed'}]

and 3 conditions

line !l l&&!r l&&r condition
112 12 72 44 (caller 1)[3] && (caller 1)[3] =~ /::FETCH$/
117 105 5 18 $_[0][3]{'protected'} and not $from_FETCH
110 0 18 $_[0][3]{'protected'} and not $from_FETCH and not $Class::props::force
128 122 0 0 $_[0][3]{'allowed'} and not $from_FETCH
122 0 0 $_[0][3]{'allowed'} and not $from_FETCH and not $Class::props::force
140 81 0 41 defined $_[0][3]{'validation'} and defined $_

or 3 conditions

line l !l&&r !l&&!r condition
45 12 0 19 defined $prop->{'default'} || defined $prop->{'protected'} || defined $prop->{'allowed'} || defined $prop->{'validation'} || defined $prop->{'post_process'}
52 16 0 6 ref $_[0] || $_[0]
53 12 0 40 ref $_[0] || $_[0]