Branch Coverage

blib/lib/CPAN/InfoObj.pm
Criterion Covered Total %
branch 9 58 15.5


line true false branch
18 5 76 if exists $self->{'RO'}
25 0 0 if ($ro) { }
53 0 0 unless defined $todir and length $todir
55 0 0 if (CPAN::InfoObj::chdir($todir)) { }
56 0 0 if $CPAN::DEBUG
59 0 0 if (-e $todir) { }
60 0 0 unless (-x $todir)
61 0 0 unless (chmod 0755, $todir)
74 0 0 if (CPAN::InfoObj::chdir($todir)) { }
75 0 0 if $CPAN::DEBUG
96 0 39 unless ($self->id)
114 0 0 $self->can('pretty_id') ? :
127 0 1 unless ($ro = $self->ro)
128 0 0 if (substr($self->{'ID'}, -1, 1) eq '.') { }
139 0 2 if ($_ eq 'CPAN_USERID') { }
1 1 elsif ($_ eq 'FULLNAME') { }
143 0 0 if ($email = $CPAN::META->instance('CPAN::Author', $self->cpan_userid)->email) { }
155 0 1 unless defined $ro->{$_}
159 2 0 if /^(ID|RO)$/
160 0 0 unless (defined $self->{$_})
164 0 0 if (ref $self->{$_} eq 'ARRAY') { }
0 0 elsif (ref $self->{$_} eq 'HASH') { }
168 0 0 if (/^CONTAINSMODS$/) { }
0 0 elsif (/^prereq_pm$/) { }
178 0 0 if @svalue
205 0 0 unless ($CPAN::META->has_inst('Data::Dumper'))
210 0 0 $what ? :
211 0 0 if (length $out > 100000) { }
215 0 0 unless $fh_pager->open("|$pager")