Branch Coverage

blib/lib/Spreadsheet/Compare.pm
Criterion Covered Total %
branch 41 90 45.5


line true false branch
58 0 36 if $debug
59 0 36 unless my $reader = $modname->new(%args)
65 18 18 $index ? :
66 0 36 if $side_name
79 11 7 if (not $test->{'reporter'} or $test->{'reporter'} =~ /^none$/iu)
85 0 7 if $debug
90 7 0 if $args{'report_filename'}
97 0 42 if $trace
101 0 5436 if $trace
112 0 12 if $self->jobs < 1
114 0 0 unless ($Spreadsheet::Compare::Config{'d_fork'} or $Spreadsheet::Compare::Config{'d_pseudofork'})
130 0 12 if $self->stdout
132 2 10 unless (@{$self->_cfo->plan})
133 1 1 unless $self->config
152 0 11 if ($self->stdout and not $no_counters)
167 18 38 if ($self->jobs == 1) { }
181 7 4 if @sp_queue
183 0 11 if ($self->stdout)
184 0 0 unless $self->quiet
204 0 11 if $ec > 255
213 0 11 if ($self->jobs > 1 and $^O eq 'MSWin32')
217 0 0 if $ver < 0.1
226 0 7 if ($self->jobs > 1 and $^O eq 'MSWin32' and $has_csv)
245 499 288 if ($started - $finished < $max)
248 38 461 if (my $job = shift @$queue)
253 38 0 unless $err
260 7 780 if $finished == $todo
279 0 18 if $debug
289 0 0 $^O eq 'MSWin32' ? :
0 18 $sp ? :
303 7 11 if (my $reporter = $self->{'_current_reporter'})
306 7 0 if (my $stype = $test->{'summary'})
315 7 0 $reporter ? :
328 0 0 if $self->stdout
330 0 0 if $debug
342 0 0 unless $first
351 0 30 $gll ? :
352 30 0 unless $logfn
357 0 0 if (my $appender = 'Log::Log4perl'->appender_by_name('app001'))
359 0 0 if $logger->level ne $level
360 0 0 if ($appender->isa('Log::Log4perl::Appender::File') and $logfn ne 'STDERR') { }
0 0 elsif ($appender->isa('Log::Log4perl::Appender::Screen') and $logfn eq 'STDERR') { }
361 0 0 if ($logfn ne $appender->filename)
374 0 0 $test->{'log_layout'} // $logfn eq 'STDERR' ? :
0 0 $ENV{'HARNESS_ACTIVE'} ? :