Branch Coverage

blib/lib/MooX/LazierAttributes.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
42 3 28 ref $attr[0] eq 'ARRAY' ? :
48 4 27 grep({ref $spec[$_] eq 'Type::Tiny';} 0 .. $eye) ? :
51 7 2 if $_ =~ /^\+/ and !$spec[0] || $spec[0] ne 'set'
52 4 32 unless ref \$spec[0] eq 'SCALAR' and $spec[0] =~ /^ro|rw|set$/
58 1 10 if (ref $export[0])
66 2 9 scalar @export ? :
76 36 9 unless $spec[0] eq 'set'
78 7 38 if (ref $spec[1] eq 'Type::Tiny')
84 7 28 ref $spec[1] eq 'CODE' ? :
35 10 if defined $spec[1]
94 0 50 if $opts{'skip'}
96 4 46 $blessed ? :
102 34 19 if $rt eq 'SCALAR'
104 0 19 if $recur->{$addr}++ and $recur->{$addr} > $opts{'limit'}
105 15 4 if $rt eq 'HASH'
106 4 0 if $rt eq 'ARRAY'