Branch Coverage

blib/lib/Unix/Lsof/Result.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
12 0 0 if ($$self{'error'} and not keys %{$$self{'output'};}) { }
36 0 0 $$self{'error'} ? :
47 0 0 if ref $_[0]
49 0 0 wantarray ? :
55 0 0 if ref $_[0]
57 0 0 wantarray ? :
63 0 0 unless defined $col[0]
64 0 0 wantarray ? :
80 0 0 wantarray ? :
92 0 0 wantarray ? :
99 0 0 if (ref $args[0] eq ref {})
125 0 0 if (defined $l)
131 0 0 unless defined $ukey
133 0 0 unless (exists $uniqify{$hkey} and exists $uniqify{$hkey}{$ukey})
140 0 0 wantarray ? :
148 0 0 if (ref $args[0] eq ref {})
165 0 0 defined $_ ? :
0 0 unless $uniqify{join $;, map({defined $_ ? $_ : '';} @$line)}++
169 0 0 wantarray ? :
174 0 0 unless exists $$self{'_query'}{'filter'}
192 0 0 unless $Unix::Lsof::op_field{$_}
196 0 0 if (exists $$self{'_program_field_ids'}{$f} or exists $$self{'_file_field_ids'}{$f}) { }
213 0 0 unless defined $value
215 0 0 if (ref $filter eq ref sub { } ) { }
0 0 elsif (ref $filter eq ref qr//) { }
0 0 elsif ($filter =~ /\A\d+\z/ and $value =~ /\A\d+\z/) { }
0 0 elsif (not ref $filter) { }
218 0 0 $value =~ /$filter/ ? :
220 0 0 $filter == $value ? :
222 0 0 $filter eq $value ? :
235 0 0 unless $self->_validate($force, $val)
242 0 0 if (exists $$self{'_query'}{'filter'}{$field})
243 0 0 unless $self->_validate($field, $val)
253 0 0 exists $$self{'_program_field_ids'}{$name} ? :
265 0 0 if ($pfield eq 'files') { }
282 0 0 if ($$self{'options'}{'suppress_errors'}) { }