Branch Coverage

blib/lib/Metabrik/Network/Read.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
70 0 0 unless $self->brik_help_run_must_be_root("open")
76 0 0 $self->family eq 'ipv6' ? :
78 0 0 defined $self->protocol ? :
81 0 0 if ($layer == 2) { }
0 0 elsif ($self->layer != 3) { }
85 0 0 unless $dump = "Net::Frame::Dump::Online2"->new("dev", $device, "timeoutOnNext", $self->rtimeout, "filter", $filter, "filterCodeOptimizer", $self->filter_code_optimizer)
97 0 0 unless $dump->start
107 0 0 unless $self->brik_help_run_undef_arg("open", $dump)
113 0 0 if (ref $next eq 'ARRAY') { }
130 0 0 unless $self->brik_help_run_undef_arg("open", $dump)
136 0 0 if (defined $next)
140 0 0 if $read_count >= $count
154 0 0 unless $self->brik_help_run_undef_arg("open", $dump)
165 0 0 if ($count and $read_count >= $count)
169 0 0 if (my $next = $dump->next)
175 0 0 if ($self->log->level > 2)
176 0 0 if ($dump->timeout) { }
194 0 0 unless $self->brik_help_run_undef_arg("open", $dump)
195 0 0 unless $self->brik_help_run_undef_arg("reply", $frame)
196 0 0 unless $self->brik_help_run_invalid_arg("reply", $frame, "Net::Frame::Simple")
206 0 0 unless (defined $dump)
222 0 0 unless (defined $dump)
233 0 0 unless (defined $dump)
253 0 0 unless $self->brik_help_run_undef_arg("to_simple", $frames)
254 0 0 unless my $ref = $self->brik_help_run_invalid_arg("to_simple", $frames, "ARRAY", "SCALAR")
256 0 0 if ($ref eq "ARRAY")
257 0 0 unless $self->brik_help_run_empty_array_arg("to_simple", $frames)