Branch Coverage

blib/lib/Vi/QuickFix.pm
Criterion Covered Total %
branch 21 74 28.3


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)
148 1 0 if ($relay eq 'tie') { }
0 0 elsif ($relay eq 'sig') { }
0 0 elsif ($relay eq 'fork') { }
165 0 4 unless $relay eq 'tie'
166 0 4 if ($] < 5.008001)
169 2 2 if (my $tie_ob = tied *STDERR)
171 1 1 unless $tieclass eq 'Vi::QuickFix::Tee'
177 0 0 relay_obstacle('tie') ? :
186 0 0 if ($kid = fork) { }
191 0 0 unless defined $kid
218 1 0 if Vi::QuickFix::is_silent() or $^C
236 0 0 unless @_
237 0 0 unless $sig eq '__DIE__' and _in_eval()
240 0 0 if ($prev_handler)
243 0 0 ref $prev_handler ? :
245 0 0 if $code
246 0 0 if $sig eq '__DIE__'
255 0 0 if $sub =~ /^\(eval/