Branch Coverage

blib/lib/Proc/Memory.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
68 2 1 if @_ % 2 == 1
75 0 3 unless &looks_like_number($self->{'pid'})
78 0 3 unless ($self->{'vas'} = xs_vas_open($self->{'pid'}, 0))
79 0 0 if (kill 0, $self->{'pid'}) { }
100 0 0 unless $fmt eq 'C'
123 0 3 unless my $addr = shift @args
124 2 1 if (my $fmt = shift @args)
125 1 1 ref $buf eq 'ARRAY' ? :
129 0 3 $nbytes >= 0 ? :
133 0 3 unless defined wantarray
167 0 1 $nbytes >= 0 ? :