blib/lib/Lingy/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 40 | 37.5 |
line | true | false | branch |
---|---|---|---|
5 | 0 | 0 | $#_ ? : |
0 | 0 | unless exists $a{$n} | |
0 | 15 | if ($a{'required'}) | |
6 | 9 | unless $#_ % 2 | |
0 | 0 | if not exists $$s{$_} | |
9 | 6 | unless exists $a{'default'} | |
1 | 0 | 'CODE' eq $r ? : | |
2 | 1 | 'ARRAY' eq $r ? : | |
3 | 3 | 'HASH' eq ($r = ref $d) ? : | |
0 | 6 | exists $a{'lazy'} ? : | |
6 | 0 | unless $i | |
0 | 0 | !exists($_[0]{$n}) ? : | |
0 | 0 | $#_ ? : | |
15 | 0 | unless my $b = $a{'builder'} | |
0 | 0 | exists $a{'lazy'} ? : | |
0 | 0 | unless $i | |
0 | 0 | !exists($_[0]{$n}) ? : | |
0 | 0 | $#_ ? : | |
18 | 0 | @_ == 1 ? : | |
0 | 18 | @_ == 2 && !$_[1] ? : |