Branch Coverage

blib/lib/Gentoo/Dependency/AST.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
26 40 0 if defined $_
30 0 33 unless (defined $tokens[0])
34 6 27 if (defined $tokens[1] and $tokens[1] eq '(')
35 1 5 if ($tokens[0] =~ /\A!(.*)[?]\z/msx)
40 5 0 if ($tokens[0] =~ /\A([^!].*)[?]\z/msx)
45 0 0 if ($tokens[0] eq '||')
51 0 27 if ($tokens[0] eq '(')
56 6 21 if ($tokens[0] eq ')')
64 0 1 unless ($state->state->isa('Gentoo::Dependency::AST::Node::TopLevel'))