line |
true |
false |
branch |
60
|
0 |
0 |
unless $self->brik_help_run_undef_arg("scan", $device) |
68
|
0 |
0 |
if (@$result > 0) |
92
|
0 |
0 |
if ($line =~ /^\s+Cell\s+(\d+).*Address:\s+(.*)$/) |
94
|
0 |
0 |
if (length $cell) |
121
|
0 |
0 |
if ($line =~ /^\s+Channel:(\d+)/) |
126
|
0 |
0 |
if ($line =~ /^\s+Frequency:(\d+\.\d+)/) |
131
|
0 |
0 |
if ($line =~ m[^\s+Quality=(\d+)/(\d+)]) |
136
|
0 |
0 |
if ($line =~ /^\s+Encryption key:(\S+)/) |
138
|
0 |
0 |
if ($this eq 'off') { } |
|
0 |
0 |
elsif ($this eq 'on') { } |
149
|
0 |
0 |
if ($line =~ /^\s+ESSID:"(\S+)"/) |
177
|
0 |
0 |
unless $self->brik_help_run_undef_arg("connect", $device) |
178
|
0 |
0 |
unless $self->brik_help_run_undef_arg("connect", $essid) |
183
|
0 |
0 |
unless my $r = $self->capture($cmd) |
187
|
0 |
0 |
unless $self->set_bitrate |
201
|
0 |
0 |
unless $self->brik_help_run_undef_arg("set_bitrate", $bitrate) |
202
|
0 |
0 |
unless $self->brik_help_run_undef_arg("set_bitrate", $device) |
217
|
0 |
0 |
unless $self->brik_help_run_undef_arg("set_wepkey", $key) |
218
|
0 |
0 |
unless $self->brik_help_run_undef_arg("set_wepkey", $device) |
232
|
0 |
0 |
unless $self->brik_help_run_undef_arg("start_monitor_mode", $device) |
236
|
0 |
0 |
unless ($found) |
246
|
0 |
0 |
if (defined $r) |
249
|
0 |
0 |
if ($line =~ /monitor mode enabled on (\S+)\)/) |
255
|
0 |
0 |
unless (length $monitor) |
259
|
0 |
0 |
unless ($monitor =~ /^[a-z]+(?:\d+)?$/) |
276
|
0 |
0 |
unless $self->brik_help_run_undef_arg("start_monitor_mode", $started) |
277
|
0 |
0 |
unless $self->brik_help_run_undef_arg("start_monitor_mode", $monitor) |
281
|
0 |
0 |
unless ($found) |
291
|
0 |
0 |
if (defined $r) |