Branch Coverage

blib/lib/Module/Checkstyle/Check/Whitespace.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
56 16 8 if ($operator->content eq ',')
57 8 8 if ($$self{$AFTER_COMMA})
60 4 4 if ($sibling and ref $sibling and not $sibling->isa('PPI::Token::Whitespace'))
67 8 8 if ($$self{$BEFORE_COMMA})
70 4 4 if ($sibling and ref $sibling and not $sibling->isa('PPI::Token::Whitespace'))
86 8 16 if ($operator->content eq '=>')
87 8 0 if ($$self{$AFTER_FAT_COMMA})
90 4 4 if ($sibling and ref $sibling and not $sibling->isa('PPI::Token::Whitespace'))
97 0 8 if ($$self{$BEFORE_FAT_COMMA})
100 0 0 if ($sibling and ref $sibling and not $sibling->isa('PPI::Token::Whitespace'))
116 3 0 if ($$self{$AFTER_COMPOUND})
121 9 5 unless $child->isa('PPI::Token::Word')
124 3 2 if (defined $sibling and ref $sibling and not $sibling->isa('PPI::Token::Whitespace'))