Branch Coverage

blib/lib/Bio/LITE/Taxonomy/NCBI.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
164 0 1 unless defined $args{'nodes'}
165 0 1 unless defined $args{'names'}
170 0 1 if (defined $args{'dict'})
181 0 1 if (UNIVERSAL::isa($nodesFile, 'GLOB') or ref \$nodesFile eq 'GLOB') { }
184 0 1 unless open $tax, '<', $nodesFile
191 1 0 unless UNIVERSAL::isa($nodesFile, 'GLOB') or ref \$nodesFile eq 'GLOB'
196 29 560761 unless defined $$self{'allowed_levels'}{$level}
204 0 1 if (UNIVERSAL::isa($namesFile, 'GLOB') or ref \$namesFile eq 'GLOB') { }
207 0 1 unless open $nodesNames, '<', $namesFile
213 560790 245269 if ($comment eq 'scientific name') { }
138762 106507 elsif ($wanted{$comment}) { }
238 0 0 unless defined $gi
245 0 0 unless defined $gi
252 0 0 unless defined $gi
253 0 0 unless defined $level
264 0 0 unless $$self{'dict'}->can($method)