blib/lib/Class/Role.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 18 | 27.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 2 | 0 | 3 | $_[0] and not $_[0] =~ /^-/ |
44 | 2 | 0 | 0 | $options{-'excludes'} and not ref $options{-'excludes'} |
58 | 3 | 0 | 0 | $param{-'methods'} and not ref $param{-'methods'} |
149 | 0 | 0 | 2 | ref $self and not $builtin_types{ref $self} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
99 | 0 | 0 | 0 | not $options{-'conflict'} or lc $options{-'conflict'} eq 'die' |
0 | 0 | 0 | lc $options{-'conflict'} eq 'replace' or lc $options{-'conflict'} eq 'mixin' |