blib/lib/Class/props.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 29 | 65.5 |
line | l | !l | condition |
---|---|---|---|
31 | 54 | 0 | $$prop{'allowed'} &&= [$$prop{'allowed'}] |
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 $_ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 12 | 0 | 19 | defined $$prop{'default'} || defined $$prop{'protected'} || defined $$prop{'allowed'} || defined $$prop{'validation'} || defined $$prop{'post_process'} |
50 | 16 | 0 | 6 | ref $_[0] || $_[0] |
52 | 12 | 0 | 40 | ref $_[0] || $_[0] |