Branch Coverage

blib/lib/Bio/Tools/Run/Primate.pm
Criterion Covered Total %
branch 6 54 11.1


line true false branch
130 0 3 if $ENV{'PRIMATEDIR'}
156 0 4 if $attr =~ /^-/
157 0 4 if ($attr =~ /^q$/i)
160 0 4 if ($attr =~ /^t$/i)
173 0 4 unless $Bio::Tools::Run::Primate::OK_FIELD{$attr}
174 4 0 if @_
192 0 0 unless defined $exe
226 0 0 unless $target
227 0 0 unless $self->query
231 0 0 unless ($query_file and $target_file)
266 0 0 unless $status == 0
286 0 0 unless $outfile
293 0 0 if ($entry =~ /primate/)
329 0 0 ref $query eq 'ARRAY' ? :
332 0 0 if (ref $query and $query->isa('Bio::PrimarySeqI')) { }
0 0 elsif (-e $query) { }
338 0 0 unless $out1->write_seq($query)
348 0 0 unless $out1->write_seq($seq1)
359 0 0 if (ref $target and $target->isa('Bio::PrimarySeqI')) { }
0 0 elsif (-e $target) { }
362 0 0 unless $out1->write_seq($target)
402 0 0 unless defined $value
406 0 0 unless ($attr_key =~ /QUERY/i or $attr_key =~ /TARGET/i)
411 0 0 if ($self->quiet or $self->verbose < 0)
412 0 0 $^O =~ /mswin/i ? :
430 0 0 if (defined $seq)
448 0 0 if (defined $seq)