Branch Coverage

blib/lib/JSAN/Client.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
67 2 1 if (keys %$params > 0)
69 0 2 if 'JSAN::Index'->self
122 0 3 ref $_[0] ? :
123 1 2 if (scalar(@_) % 2)
136 0 2 unless ($self->prefix)
139 0 2 unless (-d $self->prefix and -w $self->prefix)
143 0 2 unless ('JSAN::Index'->self)
173 24 0 unless @_
220 2 0 unless (&Params::Util::_INSTANCE($library, 'JSAN::Index::Library'))
221 0 2 unless $library = 'JSAN::Index::Library'->retrieve('name', $library)
252 1 0 unless (&Params::Util::_INSTANCE($distribution, 'JSAN::Index::Distribution'))
253 0 1 unless $distribution = 'JSAN::Index::Distribution'->retrieve('name', $distribution)
267 0 3 unless my $schedule = $dependency->schedule($requested)
269 0 7 unless 'JSAN::Index::Release'->retrieve('source', $_)
314 23 0 unless $self->verbose