line |
true |
false |
branch |
93
|
0 |
0 |
unless ($sv) |
94
|
0 |
0 |
$$self{'show_version'} ? : |
102
|
0 |
0 |
unless $line |
104
|
0 |
0 |
if ($line =~ /^(?:Cisco|IOS).*Version ([^ ,]+)/) |
105
|
0 |
0 |
if ($line =~ /^ROM: /) |
106
|
0 |
0 |
if ($line =~ /^BOOTLDR: /) |
107
|
0 |
0 |
if ($line =~ /uptime/i) |
108
|
0 |
0 |
if ($line =~ /System returned to ROM by /) |
109
|
0 |
0 |
if ($line =~ /restarted/) |
110
|
0 |
0 |
if ($line =~ /System image file is/) |
111
|
0 |
0 |
if ($line =~ /^cisco.*[0-9]+K.*memory.$/i) |
112
|
0 |
0 |
if ($line =~ /of physical memory \(DRAM\)$/) |
113
|
0 |
0 |
if ($line =~ /^Configuration register is/i) |
114
|
0 |
0 |
if ($line =~ /password-recovery mechanism/) |
115
|
0 |
0 |
if ($line =~ /^[0-9]+K .*(?:PCMCIA |[fF]lash[^-]|ATA )/) |
131
|
0 |
0 |
if ($cmd =~ /^get_/ and defined $CMD{"$parm"}) { } |
145
|
0 |
0 |
if (defined $$self{'parsed'}{$CMD{"$parm"}}) { } |
174
|
0 |
0 |
if defined $value |
185
|
0 |
0 |
if (not $line =~ /(?:bootstrap|ROM: [0-9]+\.[0-9]+)/i or $line =~ /bootstrap program/i) { } |
192
|
0 |
0 |
if ($version) { } |
210
|
0 |
0 |
if ($line =~ /^(?:Cisco IOS Software|IOS \(tm\))[, ]+(.*) Software \((.*)\).*Version ([^ ,]+)/) { } |
215
|
0 |
0 |
$sw_type ? : |
216
|
0 |
0 |
$sw_featureset ? : |
217
|
0 |
0 |
$sw_version ? : |
236
|
0 |
0 |
if ($line =~ /^BOOTLDR: (.*) (?:Software|Boot Loader) \((.*)\).*Version ([^ ,]+)/) { } |
241
|
0 |
0 |
$bl_type ? : |
242
|
0 |
0 |
$bl_featureset ? : |
243
|
0 |
0 |
$bl_version ? : |
262
|
0 |
0 |
if ($line =~ /^ *(?:(.*) uptime is|Switch Uptime|Uptime for this control processor is)[^0-9]+(.*minutes*)/) { } |
263
|
0 |
0 |
if ($1 and $2) |
268
|
0 |
0 |
$uptime ? : |
285
|
0 |
0 |
if ($line =~ /System returned to ROM by (.*)/) { } |
287
|
0 |
0 |
$reason ? : |
303
|
0 |
0 |
if ($line =~ /restarted.* at (.*)/) { } |
305
|
0 |
0 |
$time ? : |
321
|
0 |
0 |
if ($line =~ /System image file is \"(.*)\"/) { } |
323
|
0 |
0 |
$image ? : |
346
|
0 |
0 |
if ($line =~ m[cisco ([^ ]+).*with (?:([0-9]+)K |([0-9]+)K/([0-9]+)K).*memory.*]i) { } |
349
|
0 |
0 |
if ($3 and $4) { } |
|
0 |
0 |
elsif ($2) { } |
356
|
0 |
0 |
if ($chassis =~ /^WS-C35/) { } |
372
|
0 |
0 |
$chassis ? : |
373
|
0 |
0 |
$memory ? : |
393
|
0 |
0 |
if ($line =~ /([0-9]+)M .* of physical memory \(DRAM\)$/) { } |
396
|
0 |
0 |
$memory ? : |
412
|
0 |
0 |
if ($line =~ /^Configuration register is (.*)/) { } |
415
|
0 |
0 |
$confreg ? : |
431
|
0 |
0 |
if ($line =~ /password-recovery mechanism is ([a-zA-Z]+)/) { } |
434
|
0 |
0 |
$recovery ? : |
460
|
0 |
0 |
if ($line =~ /^([0-9]+)K .*(?:PCMCIA |[fF]lash[^-]|ATA )/) { } |
463
|
0 |
0 |
if ($flash) { } |
464
|
0 |
0 |
unless (defined $$self{'parsed'}{'flash_filesystems_sizes'}) |
469
|
0 |
0 |
if (not defined $$self{'parsed'}{'flash_largest_size'} or $$self{'parsed'}{'flash_largest_size'} < $flash) |
492
|
0 |
0 |
if ($line) |
506
|
0 |
0 |
if ($DEBUG >= 1) |
518
|
0 |
0 |
if ($DEBUG >= 2) |
530
|
0 |
0 |
if ($DEBUG >= 3) |
542
|
0 |
0 |
if ($DEBUG >= 4) |