Branch Coverage

blib/lib/Bio/Tools/Run/Alignment/Amap.pm
Criterion Covered Total %
branch 4 52 7.6


line true false branch
201 0 4 if $ENV{'AMAPDIR'}
219 0 1 if $on
226 0 0 if $attr =~ /^-/
238 0 0 unless $Bio::Tools::Run::Alignment::Amap::OK_FIELD{$attr}
240 0 0 if @_
258 0 0 unless $exe = $self->executable
310 0 0 unless ($infilename)
343 0 0 if (not -e $outfile or -z $outfile)
370 0 0 if (not ref $input) { }
0 0 elsif (ref($input) =~ /ARRAY/i) { }
373 0 0 unless (-e $input)
375 0 0 unless open IN, $infilename
378 0 0 unless $header =~ /^\s+$/
381 0 0 unless ($header =~ /^>\s*\S+/)
389 0 0 if (not ref $input->[0]) { }
0 0 elsif ($input->[0]->isa('Bio::PrimarySeqI')) { }
397 0 0 unless ref $seq and $seq->isa('Bio::PrimarySeqI')
399 0 0 if (not defined $seq->display_id or $seq->display_id =~ /^\s+$/)
441 0 0 unless defined $value
443 0 0 unless $attr eq 'ANNOT'
444 0 0 if $attr eq 'ANNOT'
450 0 0 unless $value
456 0 0 unless ($self->outfile_name)
465 0 0 if ($self->verbose < 0)
466 0 0 $^O =~ /mswin/i ? :
485 1 1 if @_