Condition Coverage

blib/lib/Bio/Tools/Run/WrapperBase/CommandExts.pm
Criterion Covered Total %
condition 21 69 30.4


and 3 conditions

line !l l&&!r l&&r condition
777 1 22 0 $self->is_pseudo and not $exe
801 46 0 0 -x $path . $_ and not -d $path . $_
951 0 0 0 defined $filespec and @$filespec
1214 3 1 10 $self->can('command') and $self->command
1381 0 0 0 $self->can($_) and defined $self->$_
1387 0 0 0 $self->can($_) and defined $self->$_
1393 0 66 8 $self->can($_) and defined $self->$_

or 2 conditions

line l !l condition
599 2 0 $dash ||= 1
899 0 0 $cmd ||= 'run'
1375 0 2 $subset ||= 'all'

or 3 conditions

line l !l&&r !l&&!r condition
755 0 12 0 $exe ||= $cmd
790 22 1 0 $exe ||= $self->program_path
833 0 0 0 $command_prefixes->{$cmd} || $cmd
835 0 0 0 $command_prefixes->{$subcmd} || $subcmd
910 0 0 0 $self->{'_options'}{'_prefixes'}{$subcmd} || $subcmd
965 0 0 0 defined $args{$_} or $self->throw("Required filearg '${_}' not specified")
969 0 0 0 open $out, '>', $args{$1} or $self->throw("Could not write file '$args{$1}': $!")
973 0 0 0 open $err, '>', $args{$1} or $self->throw("Could not write file '$args{$1}': $!")
977 0 0 0 open $in, '<', $args{$1} or $self->throw("Could not read file '$args{$1}': $!")
1214 10 4 0 $self->can('command') and $self->command or grep /command/, @args
1219 2 6 0 $args{'-command'} || $args{'command'} || $self->can('command') && $self->command
1224 14 0 0 $self->{'_options'}{'_prefixes'}{$cmd} || $cmd
1280 0 2 0 $args{'-command'} || $args{'command'} || $self->command
1332 3 0 6 not defined $_ or /^a/