Branch Coverage

lib/Net/API/CPAN/Distribution.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
32 1 0 unless exists $self->{'bugs'}
33 1 0 unless exists $self->{'external_package'}
34 1 0 unless exists $self->{'name'}
36 1 0 unless exists $self->{'river'}
40 1 0 if ($self->_is_array($this)) { }
0 0 elsif ($self->_is_hash($this)) { }
44 1 4 if ($this->[$i] eq "bugs")
47 1 0 if (ref $ref eq "HASH" and exists $ref->{'rt'} and ref $ref->{'rt'} eq "HASH" and exists $ref->{'rt'}{'new'})
60 0 0 if (exists $this->{'bugs'} and ref $this->{'bugs'} eq "HASH" and exists $this->{'bugs'}{'rt'} and ref $this->{'bugs'}{'rt'} eq "HASH" and exists $this->{'bugs'}{'rt'}{'new'})
73 0 1 unless $self->SUPER::init(@_)