Branch Coverage

blib/lib/CPANPLUS/Internals/Source/MetaCPAN/Tie.pm
Criterion Covered Total %
branch 17 44 38.6


line true false branch
38 0 2 unless my $args = check($tmpl, \%hash)
46 0 2 unless my $key = shift()
52 0 2 if (my $obj = $self->{'store'}{$key})
58 1 1 if $table eq 'author'
70 0 2 unless my $status = $http->request($url)
71 0 2 unless $status eq '200'
72 0 2 unless $str = $http->body
74 0 2 unless $href and keys %$href
79 1 1 if ($table eq 'module') { }
80 0 1 if $href->{'maturity'} and $href->{'maturity'} eq 'developer'
81 0 1 unless $href->{'indexed'}
90 0 1 unless $status eq '200'
91 0 1 unless $str = $http->body
94 0 1 unless $dref and keys %$dref
108 0 1 unless $href->{'author'} = $cb->author_tree($href->{'author'})
140 0 0 $table eq 'module' ? :
147 0 0 unless my $status = $http->request($url)
148 0 0 unless $status eq '200'
149 0 0 unless $str = $http->body
153 0 0 unless $res
155 0 0 $table eq 'module' ? :
173 0 0 if (wantarray)