Branch Coverage

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


line true false branch
110 0 0 if (defined $_[1])
114 0 0 unless (defined $args{'sorter'})
133 0 0 if (defined $args{'match'})
137 0 0 if (defined $args{'ptr'})
141 0 0 if (defined $args{'command'})
145 0 0 if (defined $args{'pct'})
149 0 0 if (defined $args{'wchan'})
153 0 0 if (defined $args{'command_long'})
157 0 0 if (defined $args{'no_pid_user'})
184 0 0 if (defined $self->{'match'}) { }
186 0 0 if ($self->{'match'}->match($conn))
206 0 0 unless ($self->{'no_pid_user'})
231 0 0 if ($self->{'wchan'})
232 0 0 if ($header_int % 2 != 0)
240 0 0 if ($self->{'pct'})
241 0 0 if ($header_int % 2 != 0) { }
250 0 0 if ($header_int % 2 != 0) { }
261 0 0 if ($self->{'command'})
262 0 0 if ($header_int % 2 != 0) { }
290 0 0 if ($self->{'command'})
300 0 0 unless ($self->{'no_pid_user'})
303 0 0 if (defined $conn->username) { }
307 0 0 if (defined $conn->uid) { }
316 0 0 if (defined $conn->pid) { }
327 0 0 if (defined $conn->local_ptr and $self->{'ptr'}) { }
336 0 0 if (defined $conn->foreign_ptr and $self->{'ptr'}) { }
345 0 0 if (defined $conn->local_port_name) { }
354 0 0 if (defined $conn->foreign_port_name) { }
370 0 0 if ($self->{'wchan'} and defined $conn->wchan)
377 0 0 if ($self->{'pct'} and defined $conn->pctcpu)
384 0 0 if ($self->{'pct'} and defined $conn->pctmem)
391 0 0 if (defined $conn->pid and $self->{'command'}) { }
0 0 elsif (not defined $conn->pid and $self->{'command'}) { }
401 0 0 if (defined $cmd_cache{$conn->pid}) { }
0 0 elsif (defined $conn->proc) { }
0 0 elsif ($proctable->[$proc]->pid eq $conn->pid) { }
407 0 0 unless ($self->{'command_long'})
415 0 0 if ($proctable->[$proc]{'cmndline'} =~ /^$/) { }
0 0 elsif ($self->{'command_long'}) { }
0 0 elsif ($proctable->[$proc]{'cmndline'} =~ m[^/]) { }