Branch Coverage

blib/lib/Metabrik/System/Freebsd/Netstat.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
39 0 0 unless $self->brik_help_run_undef_arg('stats', $interface)
40 0 0 unless my $ref = $self->brik_help_run_invalid_arg('stats', $interface, 'ARRAY', 'SCALAR')
45 0 0 if ($ref eq 'ARRAY') { }
48 0 0 unless $info = $self->stats($this)
65 0 0 unless my $lines = $self->capture($cmd)
72 0 0 if ($line =~ /^\S+\s+\d+/)
75 0 0 if ($interface eq $t[0])
103 0 0 unless $self->brik_help_run_undef_arg('compute_diff', $first)
104 0 0 unless $self->brik_help_run_undef_arg('compute_diff', $second)
105 0 0 unless $self->brik_help_run_invalid_arg('compute_diff', $first, 'HASH')
106 0 0 unless $self->brik_help_run_invalid_arg('compute_diff', $second, 'HASH')
109 0 0 if (exists $first->{'total_input_bytes'} and exists $second->{'total_input_bytes'})
112 0 0 if (exists $first->{'total_output_bytes'} and exists $second->{'total_output_bytes'})
115 0 0 if (exists $first->{'total_input_packets'} and exists $second->{'total_input_packets'})
118 0 0 if (exists $first->{'total_output_packets'} and exists $second->{'total_output_packets'})
121 0 0 if (exists $first->{'total_input_errors'} and exists $second->{'total_input_errors'})
124 0 0 if (exists $first->{'total_output_errors'} and exists $second->{'total_output_errors'})