Branch Coverage

blib/lib/MDOM/Rule/Simple.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
12 3 3 unless $$self{'colon'}
14 3 3 wantarray ? :
19 0 6 unless $$self{'colon'}
21 3 3 wantarray ? :
26 0 0 unless $$self{'colon'}
28 0 0 wantarray ? :
32 0 3 unless $$self{'colon'}
38 0 0 unless $$self{'colon'}
49 12 22 if (not $colon) { }
1 21 elsif ($elem->class eq 'MDOM::Token::Comment') { }
0 21 elsif ($elem->class eq 'MDOM::Command') { }
0 21 elsif ($elem->class eq 'MDOM::Token::Bare' and $elem->content eq '|') { }
50 3 9 if ($elem->class eq 'MDOM::Token::Separator') { }