Branch Coverage

blib/lib/App/Prove/Watch.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
83 2 3 if (@_)
102 0 3 if $file =~ /^(?:\.[~#])/
104 2 1 if ($$self{'args'}{'ignore'})
105 1 1 if $file =~ /$$self{'args'}{'ignore'}/
112 2 1 if ($doit)
128 3 0 if ($_ eq '--watch' or $_ eq '--run' or $_ eq '--ignore') { }
143 3 0 unless ($ours{'watch'} and @{$ours{'watch'};})
147 1 2 if ($ours{'ignore'})
163 2 1 if ($$args{'run'}) { }
164 2 0 if (ref $$args{'run'}) { }
171 0 0 $ret == 0 ? :
181 0 0 $app->run ? :
188 1 3 if (defined $last and $ret != $last)
190 1 0 if ($ret) { }
211 0 3 if ($has_desk_note) { }