Branch Coverage

blib/lib/NCBIx/BigFetch.pm
Criterion Covered Total %
branch 17 58 29.3


line true false branch
42 0 0 defined $index ? :
51 0 1 if (-e $self->get_config_filename) { }
81 1 0 if (-e $config_filename)
82 1 0 if (-e $esearch_filename)
89 0 0 if ($self->get_index < $self->get_count) { }
99 0 0 if (@{$self->get_missing;}) { }
136 0 0 if ($results =~ /resource is temporarily unavailable/i)
137 0 0 if ($results =~ /NCBI C\+\+ Exception/i)
138 0 0 if ($results eq '')
166 0 0 if (defined $missing) { }
227 0 1 $$arg_ref{'project_id'} ? :
228 0 1 $$arg_ref{'base_url'} ? :
229 0 1 $$arg_ref{'base_dir'} ? :
230 0 1 $$arg_ref{'db'} ? :
231 0 1 $$arg_ref{'query'} ? :
232 0 1 $$arg_ref{'index'} ? :
233 0 1 $$arg_ref{'return_max'} ? :
234 0 1 $$arg_ref{'return_type'} ? :
235 0 1 $$arg_ref{'return_mode'} ? :
236 0 1 $$arg_ref{'missing'} ? :
315 1 0 if (defined $arg_ref) { }
341 1 0 if ($id eq 'root') { }
360 0 0 if (-e $path_file_name)
361 0 0 unless open my $IN, '<', $path_file_name
363 0 0 unless close $IN
370 0 1 unless open my $OUT, '>', $path_file_name
372 0 1 unless close $OUT
377 0 0 unless open my $OUT, '>>', $path_file_name
379 0 0 unless close $OUT