Branch Coverage

blib/lib/Syntax/Highlight/Shell.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
141 0 8 if defined $args{$arg}
177 0 9 if ($$self{'_shs_options'}{'nnn'})
183 9 0 if $$self{'_shs_options'}{'pre'}
186 9 0 if $$self{'_shs_options'}{'tabs'}
209 6 4 if (index('metachar,keyword,builtin,command,variable,comment', $args{'type'}) >= 0) { }
214 1 3 if ($args{'token'} =~ /^(["'])([^"']*)\1$/) { }
1 2 elsif ($args{'type'} eq 'assign') { }