blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Networks/FibreChannel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
34 | 0 | 1 | unless $handle |
40 | 2 | 58 | if ($line =~ /Class Device = "(.+)"/) { } |
2 | 56 | elsif ($line =~ /port_name\s+= "0x(\w+)"/) { } | |
2 | 54 | elsif ($line =~ /port_state\s+= "(\w+)"/) { } | |
2 | 52 | elsif ($line =~ /speed\s+= "(.+)"/) { } | |
48 | 2 | 0 | if ($1 eq 'Online') { } |
0 | 0 | elsif ($1 eq 'Linkdown') { } | |
54 | 2 | 0 | if $1 ne 'unknown' |