Branch Coverage

Bio/Tools/TargetP.pm
Criterion Covered Total %
branch 35 50 70.0


line true false branch
140 0 16 if ($method and not $method =~ /TargetP/i)
162 2 31 if (defined $net)
186 2 0 if (defined $cleavage)
187 0 2 $cleavage =~ /not included/ ? :
208 1 15 unless ($self->_parsed)
231 0 15 unless $feat and ref $feat eq 'HASH'
240 15 0 if (defined $feat->{'seqlen'})
244 15 0 if exists $$MAPLOC{$feat->{'loc'}}
245 0 15 if defined $feat->{'cTP'}
246 15 0 if defined $feat->{'mTP'}
247 15 0 if defined $feat->{'SP'}
248 15 0 if defined $feat->{'other'}
249 15 0 if defined $feat->{'RC'}
250 4 11 if defined $feat->{'TPLen'}
338 1 16 if (defined $value)
378 2 13 if ($line =~ /targetp (v[\d\.]+)/) { }
2 11 elsif ($line =~ /Cleavage site predictions (.*)/) { }
2 9 elsif ($line =~ /Using (\S+) networks/) { }
2 7 elsif ($line =~ /^Name/) { }
399 2 15 if $line =~ /^----/
429 0 15 unless $line
434 15 0 if ($self->network eq 'NON-PLANT') { }
452 4 11 $TPlen && $TPlen =~ /\d+/ ? :
474 0 15 unless $feature->isa('Bio::SeqFeature::Generic')
499 15 0 if ($key and exists $MAPLOC->{$key})