Branch Coverage

blib/lib/Net/Connection/lsof.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
86 0 0 if (defined $_[0])
90 0 0 unless (defined $func_args{'ptrs'})
93 0 0 unless (defined $func_args{'ports'})
96 0 0 unless (defined $func_args{'uid_resolve'})
99 0 0 unless (defined $func_args{'proc_info'})
104 0 0 if ($? ne 0 and ($^O =~ /linux/ and $? ne 256))
126 0 0 if ($func_args{'proc_info'})
129 0 0 if ($^O =~ /bsd/)
159 0 0 if ($type =~ /6/) { }
0 0 elsif ($type =~ /4/) { }
164 0 0 if ($mode =~ /[Uu][Dd][Pp]/) { }
0 0 elsif ($mode =~ /[Tt][Cc][Pp]/) { }
176 0 0 if (not defined $foreign) { }
180 0 0 if ($foreign =~ /\]/) { }
192 0 0 if ($local =~ /\]/) { }
203 0 0 if (defined $line_split[8])
211 0 0 if ($func_args{'proc_info'})
212 0 0 if (defined $pid_proc{$args->{'pid'}}) { }
227 0 0 if ($proc_table->[$proc_int]{'pid'} eq $args->{'pid'})
232 0 0 if ($proc_table->[$proc_int]->cmndline =~ /^$/) { }
250 0 0 if ($^O =~ /bsd/) { }