Branch Coverage

blib/lib/App/watchdiff.pm
Criterion Covered Total %
branch 1 52 1.9


line true false branch
93 0 0 unless $opt->getopt
95 0 0 if ($opt->context and $opt->context < 100)
104 0 0 if (@ARGV) { }
107 0 0 unless @{$opt->exec;}
121 0 0 if $opt->scroll and $opt->date
125 0 0 if ($app and $app->control_scroll)
131 0 1 if ($app and $app->control_scroll)
151 0 0 if ($opt->diff) { }
156 0 0 if (ref $_->[1] eq 'CODE') { }
167 0 0 if $opt->refresh
174 0 0 if ($data eq "")
175 0 0 if ($opt->silent)
180 0 0 if $opt->mark
182 0 0 if $opt->newline
183 0 0 if ($opt->refresh)
185 0 0 if ($refresh_count++ % $opt->refresh == 0)
189 0 0 if $opt->date
191 0 0 if ($opt->refresh and $opt->clear)
195 0 0 if ++$count == $opt->count
200 0 0 if $opt->refresh
206 0 0 unless state $stdout = "IO::Handle"->new->fdopen(fileno STDOUT, "w")
213 0 0 if ($pid == 0)
214 0 0 unless open STDERR, ">&STDOUT"
216 0 0 unless exec @_
222 0 0 if $child != $pid
224 0 0 $? >> 8 == 3 ? :