Branch Coverage

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


line true false branch
67 2 1 if @_ % 2 == 1
74 0 3 unless &looks_like_number($self->{'pid'})
77 0 3 unless ($self->{'vas'} = xs_vas_open($self->{'pid'}, 0))
78 0 0 if (kill 0, $self->{'pid'}) { }
99 0 0 unless $fmt eq 'C'
122 0 3 unless my $addr = shift @args
123 2 1 if (my $fmt = shift @args)
124 1 1 ref $buf eq 'ARRAY' ? :
128 0 3 $nbytes >= 0 ? :
132 0 3 unless defined wantarray
166 0 1 $nbytes >= 0 ? :