Branch Coverage

blib/lib/Net/Connection/ncnetstat.pm
Criterion Covered Total %
branch 0 80 0.0


line true false branch
107 0 0 if (defined $_[1])
111 0 0 unless (defined $args{'sorter'})
130 0 0 if (defined $args{'match'})
134 0 0 if (defined $args{'ptr'})
138 0 0 if (defined $args{'command'})
142 0 0 if (defined $args{'pct'})
146 0 0 if (defined $args{'wchan'})
150 0 0 if (defined $args{'command_long'})
154 0 0 if (defined $args{'no_pid_user'})
175 0 0 if (defined $self->{'match'}) { }
177 0 0 if ($self->{'match'}->match($conn))
195 0 0 unless ($self->{'no_pid_user'})
213 0 0 if ($self->{'wchan'})
214 0 0 if ($header_int % 2 != 0)
221 0 0 if ($self->{'pct'})
222 0 0 if ($header_int % 2 != 0) { }
229 0 0 if ($header_int % 2 != 0) { }
238 0 0 if ($self->{'command'})
239 0 0 if ($header_int % 2 != 0) { }
265 0 0 if ($self->{'command'})
277 0 0 unless ($self->{'no_pid_user'})
279 0 0 if (defined $conn->username) { }
282 0 0 if (defined $conn->uid) { }
290 0 0 if (defined $conn->pid) { }
300 0 0 if (defined $conn->local_ptr and $self->{'ptr'}) { }
308 0 0 if (defined $conn->foreign_ptr and $self->{'ptr'}) { }
316 0 0 if (defined $conn->local_port_name) { }
324 0 0 if (defined $conn->foreign_port_name) { }
340 0 0 if ($self->{'wchan'} and defined $conn->wchan)
348 0 0 if ($self->{'pct'} and defined $conn->pctcpu)
356 0 0 if ($self->{'pct'} and defined $conn->pctmem)
364 0 0 if (defined $conn->pid and $self->{'command'}) { }
0 0 elsif (not defined $conn->pid and $self->{'command'}) { }
376 0 0 if (defined $cmd_cache{$conn->pid}) { }
0 0 elsif (defined $conn->proc) { }
0 0 elsif ($proctable->[$proc]->pid eq $conn->pid) { }
383 0 0 unless ($self->{'command_long'})
390 0 0 if ($proctable->[$proc]{'cmndline'} =~ /^$/) { }
0 0 elsif ($self->{'command_long'}) { }
0 0 elsif ($proctable->[$proc]{'cmndline'} =~ m[^/]) { }