Branch Coverage

blib/lib/Metabrik/Remote/Tcpdump.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
58 0 0 if ($self->_started)
62 0 0 unless $self->connect
70 0 0 unless open my $out, ">", $dump->file
79 0 0 unless my $channel = $self->exec("tcpdump -U -i $device -w - 2> /dev/null")
97 0 0 unless ($self->_started)
119 0 0 unless ($self->_started)
124 0 0 unless (defined $channel)
135 0 0 unless ($dump->isRunning)
136 0 0 unless $dump->start
139 0 0 if (my $h = $dump->next)
149 0 0 unless ($self->_started)
154 0 0 unless (defined $channel)
165 0 0 unless ($dump->isRunning)
166 0 0 unless $dump->start