Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Networks/FibreChannel.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
34 0 0 unless $handle
40 0 0 if ($line =~ /Class Device = "(.+)"/) { }
0 0 elsif ($line =~ /port_name\s+= "0x(\w+)"/) { }
0 0 elsif ($line =~ /port_state\s+= "(\w+)"/) { }
0 0 elsif ($line =~ /speed\s+= "(.+)"/) { }
48 0 0 if ($1 eq 'Online') { }
0 0 elsif ($1 eq 'Linkdown') { }
54 0 0 if $1 ne 'unknown'