Branch Coverage

blib/lib/assign/Struct.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
21 30 24 if ($type eq "PPI::Token::Whitespace")
24 24 0 if ($type eq "PPI::Statement")
25 0 24 if $statement
33 0 24 unless $statement
39 2 73 unless $self->parse_elem
40 22 51 unless $self->parse_comma
52 0 51 if $type eq "PPI::Token::Whitespace"
54 51 0 if ($type eq 'PPI::Token::Operator' and $tok->content eq ',') { }
70 4 35 if (@$in > 1 and ref $in->[0] eq "PPI::Token::Operator" and $in->[0]->content eq "=")
76 0 4 unless ref($d) =~ /^PPI::Token::(Number|Symbol|Quote::(Single|Double))$/
80 0 4 if ref $d eq "PPI::Token::Symbol" and not $def =~ /^\$\w+$/