Branch Coverage

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


line true false branch
74 0 75 unless $app->getopt(\@argv)
97 4 285 if ($arg =~ /^-S$/u)
102 22 263 if ($arg =~ /^-([cC])(.+)?$/u)
103 14 8 $1 eq 'c' ? :
104 12 10 defined $2 ? :
109 9 254 if ($arg =~ /^-(F)(.+)?$/u)
110 1 8 defined $2 ? :
115 5 249 if ($arg =~ /^-E$/u)
123 18 231 if ($arg =~ /^-([sia])(.+)?$/u) { }
38 193 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 192 1 if ($app->escape)
167 106 122 if ($count)
169 0 106 if $out > $count
170 88 18 if $out == $count
173 0 164 if @pending
174 4 160 if $count and @out < $count