blib/lib/MooX/LazierAttributes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 23 | 69.5 |
line | l | !l | condition |
---|---|---|---|
94 | 0 | 0 | $blessed =~ /^$opts{'skip'}$/ and return $to_clone |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
48 | 8 | 4 | 0 | ref $spec[$eye] eq 'HASH' && exists $spec[$eye]{'default'} && splice(@spec, $eye == 0 ? 0 : 1, 0, delete $spec[$eye]{'default'}) |
51 | 27 | 2 | 7 | $_ =~ /^\+/ and !$spec[0] || $spec[0] ne 'set' |
52 | 3 | 1 | 32 | ref \$spec[0] eq 'SCALAR' and $spec[0] =~ /^ro|rw|set$/ |
60 | 1 | 1 | 0 | exists $o->{$_} and $opts{$_} = $o->{$_} |
104 | 19 | 0 | 0 | $recur->{$addr}++ and $recur->{$addr} > $opts{'limit'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 1 | 6 | 2 | !$spec[0] || $spec[0] ne 'set' |
101 | 19 | 34 | 0 | &reftype($to_clone) || &reftype(\$to_clone) |