Branch Coverage

blib/lib/Bio/DB/NextProt.pm
Criterion Covered Total %
branch 12 80 15.0


line true false branch
31 0 1 if defined $param{'-format'}
33 0 1 if (defined $param{'-query'} and defined $param{'-filter'}) { }
1 0 elsif (defined $param{'-query'}) { }
0 0 elsif (defined $param{'-filter'}) { }
58 0 1 if defined $param{'-format'}
60 1 0 if (defined $param{'-query'} and defined $param{'-filter'}) { }
0 0 elsif (defined $param{'-query'}) { }
0 0 elsif (defined $param{'-filter'}) { }
85 0 0 if defined $param{'-format'}
87 0 0 if (defined $param{'-query'} and $param{'-retrieve'}) { }
0 0 elsif (defined $param{'-query'}) { }
108 0 1 if defined $param{'-format'}
110 0 1 if (defined $param{'-query'} and $param{'-retrieve'}) { }
0 1 elsif (defined $param{'-query'}) { }
131 0 1 if defined $param{'-format'}
133 1 0 if (defined $param{'-query'} and $param{'-retrieve'}) { }
0 0 elsif (defined $param{'-query'}) { }
155 1 0 if (defined $param{'-chromosome'}) { }
0 0 elsif (defined $param{'-evidence'}) { }
160 0 1 if ($chrom eq 'all') { }
168 0 0 if ($param{'-evidence'} eq 'protein_level') { }
0 0 elsif ($param{'-evidence'} eq 'transcript_level') { }
0 0 elsif ($param{'-evidence'} eq 'homology') { }
0 0 elsif ($param{'-evidence'} eq 'predicted') { }
0 0 elsif ($param{'-evidence'} eq 'uncertain') { }
193 0 0 if (defined $param{'-chromosome'}) { }
0 0 elsif (defined $param{'-phospho'}) { }
0 0 elsif (defined $param{'-nacetyl'}) { }
217 0 0 if (defined $param{'-map'})
220 0 0 if ($db eq 'ensembl_gene') { }
0 0 elsif ($db eq 'ensembl_protein') { }
0 0 elsif ($db eq 'ensembl_unmapped') { }
0 0 elsif ($db eq 'ensembl_transcript') { }
0 0 elsif ($db eq 'ensembl_transcript_unmapped') { }
0 0 elsif ($db eq 'geneid') { }
0 0 elsif ($db eq 'hgnc') { }
0 0 elsif ($db eq 'mgi') { }
0 0 elsif ($db eq 'refseq') { }
255 0 0 if (defined $param{'-chromosome'})
265 0 0 if ($prot =~ /^[A-Za-z|0-9\-]+\s+NX/)