| line |
true |
false |
branch |
|
114
|
0 |
1 |
unless ($self->errorblank) |
|
150
|
0 |
7 |
unless ($self->errorblank) |
|
154
|
0 |
7 |
unless (defined $sort) |
|
174
|
8 |
0 |
if (defined $_[1] and ref $_[1] eq 'ARRAY') { } |
|
186
|
0 |
8 |
unless ($self->errorblank) |
|
191
|
8 |
0 |
if ($self->{'sort'} ne 'none') |
|
192
|
0 |
8 |
if ($self->{'sort'} eq 'host_ff') { } |
|
|
0 |
8 |
elsif ($self->{'sort'} eq 'host_lf') { } |
|
|
1 |
7 |
elsif ($self->{'sort'} eq 'host_f') { } |
|
|
1 |
6 |
elsif ($self->{'sort'} eq 'host_l') { } |
|
|
0 |
6 |
elsif ($self->{'sort'} eq 'port_ff') { } |
|
|
0 |
6 |
elsif ($self->{'sort'} eq 'port_lf') { } |
|
|
1 |
5 |
elsif ($self->{'sort'} eq 'port_f') { } |
|
|
1 |
4 |
elsif ($self->{'sort'} eq 'port_l') { } |
|
|
1 |
3 |
elsif ($self->{'sort'} eq 'state') { } |
|
|
1 |
2 |
elsif ($self->{'sort'} eq 'protocol') { } |
|
|
0 |
2 |
elsif ($self->{'sort'} eq 'q_rf') { } |
|
|
0 |
2 |
elsif ($self->{'sort'} eq 'q_sf') { } |
|
|
1 |
1 |
elsif ($self->{'sort'} eq 'q_r') { } |
|
|
1 |
0 |
elsif ($self->{'sort'} eq 'q_s') { } |
|
196
|
0 |
0 |
unless &host_sort_helper($Parse::Netstat::Search::Sort::a->{'foreign_host'}) <=> &host_sort_helper($Parse::Netstat::Search::Sort::b->{'foreign_host'}) |
|
201
|
0 |
0 |
unless &host_sort_helper($Parse::Netstat::Search::Sort::a->{'local_host'}) <=> &host_sort_helper($Parse::Netstat::Search::Sort::b->{'local_host'}) |
|
214
|
0 |
0 |
unless $Parse::Netstat::Search::Sort::a->{'foreign_port'} <=> $Parse::Netstat::Search::Sort::b->{'foreign_port'} |
|
219
|
0 |
0 |
unless $Parse::Netstat::Search::Sort::a->{'local_port'} <=> $Parse::Netstat::Search::Sort::b->{'local_port'} |
|
240
|
0 |
0 |
unless $Parse::Netstat::Search::Sort::a->{'recvq'} <=> $Parse::Netstat::Search::Sort::b->{'recvq'} |
|
245
|
0 |
0 |
unless $Parse::Netstat::Search::Sort::a->{'sendq'} <=> $Parse::Netstat::Search::Sort::b->{'sendq'} |
|
269
|
0 |
20 |
if (not defined $_[0] or $_[0] eq '*') |
|
276
|
0 |
20 |
unless (defined $host) |