Branch Coverage

blib/lib/Bio/LITE/Taxonomy/NCBI/Gi2taxid.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
115 0 3 unless $args{'dict'}
116 0 3 unless -e $args{'dict'}
120 0 3 if (UNIVERSAL::isa($args{'dict'}, 'GLOB') or ref \$args{'dict'} eq 'GLOB') { }
123 1 2 unless -B $args{'dict'}
124 0 2 unless open $dictfh, '<:raw', $args{'dict'}
139 0 2 if $$self{'save_mem'}
141 0 2 unless $n
153 0 4 if ($$self{'save_mem'}) { }
162 0 4 unless $v
173 1 2 unless defined $args{'in'}
176 0 2 if (not defined $args{'out'}) { }
1 1 elsif (UNIVERSAL::isa($args{'out'}, 'GLOB') or ref \$args{'out'} eq 'GLOB') { }
181 0 1 unless open $outfh, '>', $args{'out'}
185 0 2 if (UNIVERSAL::isa($args{'in'}, 'GLOB') or ref \$args{'in'} eq 'GLOB') { }
188 0 2 unless open $infh, '<', $args{'in'}
191 0 2 unless my $ftail = 'File::Tail'->new('name', $args{'in'}, 'tail', 1)
193 0 2 unless defined $last_line
208 1 1 if (defined $args{'out'} and ref \$args{'out'} eq 'SCALAR')