lib/Config/AST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 56 | 62.5 |
line | l | !l | condition |
---|---|---|---|
982 | 7 | 0 | $nchecks and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
369 | 51 | 0 | 35 | !$elt->[2] && $k eq 'section' |
513 | 46 | 1 | 4 | exists $d->{'default'} and not $section->has_key($k) |
585 | 38 | 9 | 4 | $d->{'mandatory'} and not $section->has_key($k) |
739 | 0 | 0 | 1 | defined $node && $node->is_section |
752 | 0 | 0 | 1 | defined $node && $node->is_value |
860 | 0 | 1 | 29 | defined $synt and ref $synt eq 'HASH' |
1 | 0 | 29 | defined $synt and ref $synt eq 'HASH' and exists $synt->{'section'} | |
1074 | 0 | 1 | 1 | $node->is_section and $node->has_key($_) |
1114 | 0 | 0 | 1 | defined $node and $node->is_section |
1224 | 10 | 0 | 2 | exists $lexicon->{'select'} and not $self->${\$lexicon->{'select'};}($node, @path) |
line | l | !l | condition |
---|---|---|---|
304 | 0 | 22 | delete $_{'debug'} || 0 |
305 | 0 | 22 | delete $_{'ci'} || 0 |
896 | 37 | 11 | $self->{'_lexicon'} // {'*', '*'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
393 | 17 | 1 | 0 | $lex->{$k} // $lex->{'*'} |
477 | 3 | 16 | 4 | delete $opts{'lexicon'} // $self->lexicon |
575 | 30 | 0 | 0 | not exists $d->{'select'} or $self->${\$d->{'select'};}($node, @path, $k) |
828 | 0 | 0 | 10 | @_ or not $self->lexicon |
931 | 21 | 25 | 1 | $kw->{$name} // $kw->{'*'} |
1052 | 0 | 1 | 0 | $node->subtree($_[0]) || $node->subtree($_[0], 'Config::AST::Node::Value'->new('order', $self->{'_order'}++)) |