Branch Coverage

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


line true false branch
59 0 0 unless $self->brik_help_run_undef_arg("capture", $output)
61 0 0 unless my $fp = "Metabrik::File::Pcap"->new_from_brik_init($self)
62 0 0 unless $fp->open($output, "write")
64 0 0 unless $self->open($layer, $device, $filter)
68 0 0 if (my $next = $self->read or next)
69 0 0 if (@$next > 0)
79 0 0 if ($self->has_timeout)
83 0 0 if $count and $read_count >= $count
101 0 0 unless $self->brik_help_run_undef_arg("capture_in_background", $output)
103 0 0 unless my $sf = "Metabrik::System::File"->new_from_brik_init($self)
106 0 0 if ($sf->is_relative($output))
107 0 0 unless my $basefile = $sf->basefile($output)
113 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
132 0 0 if (defined $sp)