blib/lib/POE/Filter/Map.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 17 | 70.5 |
line | l | !l | condition |
---|---|---|---|
102 | 0 | 3 | carp("Modify $_ element must be given a coderef") and next |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
31 | 2 | 1 | 5 | defined $params{'Get'} and defined $params{'Put'} |
37 | 1 | 6 | 0 | defined $params{'Get'} ? ref $params{'Get'} eq 'CODE' : 1 and defined $params{'Put'} ? ref $params{'Put'} eq 'CODE' : 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 3 | 0 | 8 | defined $params{'Code'} or defined $params{'Get'} and defined $params{'Put'} |
41 | 2 | 3 | 0 | $params{'Code'} || $params{'Get'} |
42 | 2 | 3 | 0 | $params{'Code'} || $params{'Put'} |