blib/lib/MooX/LazyRequire.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
19 | 2 | 4 | ref $attrs ? : |
20 | 4 | 2 | if ($opts{'lazy_required'}) { } |
21 | 0 | 4 | if (exists $opts{'lazy'} and not $opts{'lazy'}) { } |
0 | 4 | elsif (exists $opts{'default'} or exists $opts{'builder'}) { } |