Branch Coverage

blib/lib/Vi/QuickFix.pm
Criterion Covered Total %
branch 21 76 27.6


line true false branch
43 1 3 if $keywords{'silent'}
46 1 3 if (my $reason = relay_obstacle($relay))
49 3 0 unless $relay eq 'fork'
50 2 0 if ($relay eq 'tie') { }
0 0 elsif ($relay eq 'sig') { }
0 0 elsif ($relay eq 'fork') { }
52 1 1 unless tied *STDERR
67 0 0 if @_
80 1 2 unless $errhandle = 'IO::File'->new($errfile, '>')
83 2 0 if $errhandle
87 0 0 if $errhandle
92 1 0 if $errhandle
93 1 0 if $errfile and $unlink and not -s $errfile
102 0 0 if (/.+:\d+:/) { }
106 0 0 unless my($message, $file, $line, $rest) = @$_
107 0 0 if $rest =~ s/^,//
132 0 0 if @coll <= 1
134 0 0 if @existing
142 0 0 unless (is_silent() or exec_mode() or $$ != $end_entiteled)
144 0 0 if (%invocation) { }
153 1 0 if ($relay eq 'tie') { }
0 0 elsif ($relay eq 'sig') { }
0 0 elsif ($relay eq 'fork') { }
170 0 4 unless $relay eq 'tie'
171 0 4 if ($] < 5.008001)
174 2 2 if (my $tie_ob = tied *STDERR)
176 1 1 unless $tieclass eq 'Vi::QuickFix::Tee'
182 0 0 relay_obstacle('tie') ? :
191 0 0 if ($kid = fork) { }
196 0 0 unless defined $kid
223 1 0 if Vi::QuickFix::is_silent() or $^C
241 0 0 unless @_
242 0 0 unless $sig eq '__DIE__' and _in_eval()
245 0 0 if ($prev_handler)
248 0 0 ref $prev_handler ? :
250 0 0 if $code
251 0 0 if $sig eq '__DIE__'
260 0 0 if $sub =~ /^\(eval/