Branch Coverage

blib/lib/App/ansiecho.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
74 0 72 unless $app->getopt(\@argv)
97 4 282 if ($arg =~ /^-S$/u)
102 22 260 if ($arg =~ /^-([cC])(.+)?$/u)
103 14 8 $1 eq 'c' ? :
104 12 10 defined $2 ? :
109 9 251 if ($arg =~ /^-(F)(.+)?$/u)
110 1 8 defined $2 ? :
115 5 246 if ($arg =~ /^-E$/u)
123 18 228 if ($arg =~ /^-([sia])(.+)?$/u) { }
38 190 elsif ($arg =~ /^-f(.+)?$/u) { }
127 0 18 if ($opt eq 's') { }
130 12 6 if (@out == 0 or $opt eq 'i') { }
142 0 38 defined $1 ? :
152 189 1 if ($app->escape)
167 106 119 if ($count)
169 0 106 if $out > $count
170 88 18 if $out == $count
173 0 161 if @pending
174 4 157 if $count and @out < $count