Condition Coverage

blib/lib/MooX/LazierAttributes.pm
Criterion Covered Total %
condition 15 15 100.0


and 3 conditions

line !l l&&!r l&&r condition
44 16 8 4 ref $spec[-1] eq 'HASH' and exists $spec[-1]{'default'}
47 27 2 7 $_ =~ /^\+/ and !$spec[0] || $spec[0] ne 'set'
48 3 1 32 not ref $spec[0] and $spec[0] =~ /^(ro|rw|set)$/

or 3 conditions

line l !l&&r !l&&!r condition
44 3 4 24 grep {$eye = $#spec if ref $spec[$_] eq 'Type::Tiny';} 0 .. $#spec or ref $spec[-1] eq 'HASH' and exists $spec[-1]{'default'}
47 1 6 2 !$spec[0] || $spec[0] ne 'set'