blib/lib/Metabrik/Network/Frame.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 48 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
109 | 0 | 0 | 0 | exists $frames->{'raw'} && exists $frames->{'firstLayer'} && exists $frames->{'timestamp'} |
130 | 0 | 0 | 0 | exists $first->{'raw'} and exists $first->{'firstLayer'} |
0 | 0 | 0 | exists $first->{'raw'} and exists $first->{'firstLayer'} and exists $first->{'timestamp'} | |
377 | 0 | 0 | 0 | ref $data eq 'HASH' and exists $data->{'raw'} |
0 | 0 | 0 | ref $data eq 'HASH' and exists $data->{'raw'} and exists $data->{'firstLayer'} | |
0 | 0 | 0 | ref $data eq 'HASH' and exists $data->{'raw'} and exists $data->{'firstLayer'} and exists $data->{'timestamp'} |
line | l | !l | condition |
---|---|---|---|
62 | 0 | 0 | defined $self->global && $self->global->device || 'eth0' |
187 | 0 | 0 | $first_layer ||= 'IPv4' |
254 | 0 | 0 | $dst_ip ||= '127.0.0.1' |
255 | 0 | 0 | $dst_mac ||= '00:00:00:00:00:00' |
275 | 0 | 0 | $dst ||= 'ff:ff:ff:ff:ff:ff' |
276 | 0 | 0 | $type ||= 2048 |
291 | 0 | 0 | $protocol ||= 6 |
310 | 0 | 0 | $src ||= 1025 |
311 | 0 | 0 | $flags ||= 2 |
325 | 0 | 0 | $src ||= 1025 |
326 | 0 | 0 | $payload ||= '' |
348 | 0 | 0 | $data ||= 'echo' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
81 | 0 | 0 | 0 | $device ||= $self->device |
295 | 0 | 0 | 0 | $src ||= $device_info->{'ipv4'} |