VMOMI/PhysicalNic.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 30 SCAR 6.9
CC
1
Cov
0%
get_class_ancestors
2.0
get_class_members
2.0
BEGIN
2.0
CRAP 2.0
1 package VMOMI::PhysicalNic;
2 use parent 'VMOMI::DynamicData';
3  
4 our @class_ancestors = (
5 'DynamicData',
6 );
7  
8 our @class_members = (
9 ['key', undef, 0, 1],
10 ['device', undef, 0, ],
11 ['pci', undef, 0, ],
12 ['driver', undef, 0, 1],
13 ['linkSpeed', 'PhysicalNicLinkInfo', 0, 1],
14 ['validLinkSpecification', 'PhysicalNicLinkInfo', 1, 1],
15 ['spec', 'PhysicalNicSpec', 0, ],
16 ['wakeOnLanSupported', 'boolean', 0, ],
17 ['mac', undef, 0, ],
18 ['fcoeConfiguration', 'FcoeConfig', 0, 1],
19 ['vmDirectPathGen2Supported', 'boolean', 0, 1],
20 ['vmDirectPathGen2SupportedMode', undef, 0, 1],
21 ['resourcePoolSchedulerAllowed', 'boolean', 0, 1],
22 ['resourcePoolSchedulerDisallowedReason', undef, 1, 1],
23 ['autoNegotiateSupported', 'boolean', 0, 1],
24 );
25  
26 sub get_class_ancestors {
27 return @class_ancestors;
28 }
29  
30 sub get_class_members {
31 my $class = shift;
32 my @super_members = $class->SUPER::get_class_members();
33 return (@super_members, @class_members);
34 }
35  
36 1;