Branch Coverage

blib/lib/Filter/Heredoc/Rule.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
49 26 60 if (defined $language)
57 9 17 if ($language eq $NONE) { }
13 4 elsif (exists $syntax{$language}) { }
64 13 0 if ($language eq $POD)
93 50 6 if ($syntax{'pod'} eq $EMPTY_STR) { }
6 0 elsif ($syntax{'pod'} eq $POD) { }
101 2 4 if (_is_redirector_pair($line)) { }
4 0 elsif (_is_lonely_redirect($line)) { }
130 0 4 unless (defined($line = shift()))
135 4 0 if ($line =~ /(<<)$/)
140 0 0 if ($line =~ /(-)$/)
158 0 6 unless (defined($line = shift()))
163 2 4 if ($line =~ /<>/)