Branch Coverage

blib/lib/Astro/ADS/Search.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
61 0 6 unless my $search_terms = $self->gather_search_terms($terms)
65 1 5 if ($response->is_error)
108 2 6 if ($terms and $terms->{'q'}) { }
112 6 0 if $self->q
113 1 5 if exists $terms->{'+q'}
115 1 5 if (@{$self->authors;})
117 0 1 if $self->author_logic->{'exact'}
118 1 0 if (@{$self->authors;} > 1) { }
119 0 1 $self->author_logic->{'OR'} ? :
127 1 5 if (@{$self->objects;})
129 0 1 if (@{$self->objects;} > 1) { }
130 0 0 $self->object_logic->{'OR'} ? :
139 0 6 if @{$self->bibcode;}
142 0 8 unless (@query)