Branch Coverage

blib/lib/Bio/LITE/Taxonomy/NCBI/Gi2taxid.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
120 0 3 unless $args{'dict'}
121 0 3 unless -e $args{'dict'}
125 0 3 if (UNIVERSAL::isa($args{'dict'}, 'GLOB') or ref \$args{'dict'} eq 'GLOB') { }
128 1 2 unless -B $args{'dict'}
129 0 2 unless open $dictfh, '<:raw', $args{'dict'}
144 0 2 if $$self{'save_mem'}
146 0 2 unless $n
158 0 4 if ($$self{'save_mem'}) { }
167 0 4 unless $v
178 1 2 unless defined $args{'in'}
181 0 2 if (not defined $args{'out'}) { }
1 1 elsif (UNIVERSAL::isa($args{'out'}, 'GLOB') or ref \$args{'out'} eq 'GLOB') { }
186 0 1 unless open $outfh, '>', $args{'out'}
190 0 2 if (UNIVERSAL::isa($args{'in'}, 'GLOB') or ref \$args{'in'} eq 'GLOB') { }
193 0 2 unless open $infh, '<', $args{'in'}
196 0 2 unless my $ftail = 'File::Tail'->new('name', $args{'in'}, 'tail', 1)
198 0 2 unless defined $last_line
212 8 16 if ($key >= $chunk_limit)
226 1 1 if (defined $args{'out'} and ref \$args{'out'} eq 'SCALAR')