Branch Coverage

blib/lib/App/highlight.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
74 0 17 if ($$opt{'help'}) { }
1 16 elsif ($$opt{'version'}) { }
90 0 2 unless (@$args or $$opt{'show_bad_spaces'})
104 14 2 if (scalar @$args)
105 13 1 if ($$opt{'escape'} or not $$opt{'no_escape'})
112 13 3 if ($COLOR_SUPPORT and $$opt{'color'} || !$$opt{'no_color'}) { }
120 1 1 if (not $COLOR_SUPPORT and $$opt{'color'} || !$$opt{'no_color'})
126 1 15 if ($$opt{'one_color'})
131 1 15 if ($$opt{'ignore_case'})
132 0 1 if ($^V lt v5.14.0) { }
143 13 236 if ($$opt{'full_line'}) { }
144 5 8 if (/$ignore_case$m/)
157 16 158 if ($$opt{'show_bad_spaces'})
158 8 8 if ($$opt{'color'} or not $$opt{'no_color'}) { }