Branch Coverage

lib/UR/Namespace/Command/Test/Run.pm
Criterion Covered Total %
branch 0 184 0.0


line true false branch
120 0 0 unless ($bx->specifies_value_for('namespace_name'))
136 0 0 if ($_ eq 'inc=s@')
150 0 0 if ($self->namespace_name ne 'UR') { }
158 0 0 if ($self->run_as_lsf_helper)
167 0 0 if ($self->recurse) { }
0 0 elsif (not @tests) { }
168 0 0 if (@tests)
177 0 0 if ($_ eq 't' and -d $_)
183 0 0 if (@dirs == 0)
200 0 0 if ($self->list)
208 0 0 unless (@tests)
224 0 0 if (/\.t$/ and not -d $_)
239 0 0 unless open my $saved_stdout, '>&STDOUT'
240 0 0 unless open my $saved_stderr, '>&STDERR'
243 0 0 unless open STDOUT, '>&', $saved_stdout
244 0 0 unless open STDERR, '>&', $saved_stderr
248 0 0 unless ($socket)
257 0 0 if ($line eq '' or $line eq 'EXIT TESTS')
265 0 0 unless open STDOUT, '>&', $socket
266 0 0 unless open STDERR, '>&', $socket
283 0 0 unless (defined $ENV{'UR_TEST_QUIET'})
290 0 0 if ($self->long)
297 0 0 if (my $cover = $self->cover)
301 0 0 if ($self->cover_svn_changes) { }
0 0 elsif ($self->cover_svk_changes) { }
0 0 elsif ($self->cover_git_changes) { }
0 0 elsif ($self->cover_cvs_changes) { }
314 0 0 if (@cover_specific_modules) { }
329 0 0 if (@tests) { }
335 0 0 if (my(@matches) = grep({$test_name =~ /$_/;} @tests))
336 0 0 if (@matches > 1) { }
0 0 elsif (@matches == 0) { }
366 0 0 if ($self->coverage)
369 0 0 if ($self->callcount)
373 0 0 if (UR::Util::used_libs())
379 0 0 if ($self->junit) { }
381 0 0 if ($@)
398 0 0 if $self->jobs > 1
399 0 0 if ($self->script_opts)
406 0 0 if ($self->perl_opts or $self->inc)
413 0 0 if ($timelog_sum)
422 0 0 if ($self->lsf)
446 0 0 unless ($self->noisy)
447 0 0 unless open $old_stderr, '>&STDERR'
448 0 0 unless open STDERR, '>/dev/null'
474 0 0 unless ($self->noisy)
475 0 0 unless open STDERR, '>&', $old_stderr
479 0 0 if ($@) { }
484 0 0 if ($self->coverage)
489 0 0 if $formatter
492 0 0 if ($timelog_sum)
498 0 0 if (-z $timelog_sum)
519 0 0 unless (@words and $words[-1] eq 'GSC')
525 0 0 unless (chdir $vcs_dir)
530 0 0 if ($tool eq 'svn' or $tool eq 'svk') { }
0 0 elsif ($tool eq 'cvs') { }
0 0 elsif ($tool eq 'git') { }
545 0 0 unless (chdir $orig_cwd)
552 0 0 if ($@)
559 0 0 if $status eq '?' or $status eq '!'
564 0 0 unless (@modules)
586 0 0 if (index($@, q[Can't use an undefined value as an ARRAY reference]) >= 0) { }
0 0 elsif ($@) { }
637 0 0 if (@_)
646 0 0 if (@_)
667 0 0 if (@{$state->{'lsf_jobids'};} < $state->{'max_jobs'})
674 0 0 $did_create_new_worker ? :
675 0 0 unless ($did_create_new_worker or $count)
676 0 0 unless ($proto->_verify_lsf_jobs_are_still_alive)
693 0 0 unless $output[1]
695 0 0 if $stat[2] eq 'RUN' or $stat[2] eq 'PEND'
720 0 0 if ($host eq '0.0.0.0')
728 0 0 unless ($jobid)
739 0 0 unless ($listen)
742 0 0 unless ($listen)
748 0 0 unless ($select)
755 0 0 unless @ready
759 0 0 if ($handle eq $listen) { }
761 0 0 unless ($socket)
796 0 0 if (ref $args eq 'HASH')
800 0 0 unless (-d $timelog_dir)
819 0 0 if ($test_file eq $cmd_part)
840 0 0 if ($My::TAP::Parser::Iterator::Process::LSF::SHOULD_EXIT)
843 0 0 unless ($already_printed)
868 0 0 unless delete $args->{'command'}
0 0 unless my(@command) = @{[] unless delete $args->{'command'};}
874 0 0 if (my $setup = delete $args->{'setup'})
880 0 0 unless ($handle->print(join(' ', @command) . "\n"))
882 0 0 $handle->connected ? :
891 0 0 if (my $teardown = delete $args->{'teardown'})
905 0 0 if ($SHOULD_EXIT)
907 0 0 if ($self->{'sel'}) { }