VMOMI/StoragePlacementAction.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 23 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::StoragePlacementAction;
2 use parent 'VMOMI::ClusterAction';
3  
4 our @class_ancestors = (
5 'ClusterAction',
6 'DynamicData',
7 );
8  
9 our @class_members = (
10 ['vm', 'ManagedObjectReference', 0, 1],
11 ['relocateSpec', 'VirtualMachineRelocateSpec', 0, ],
12 ['destination', 'ManagedObjectReference', 0, ],
13 ['spaceUtilBefore', undef, 0, 1],
14 ['spaceDemandBefore', undef, 0, 1],
15 ['spaceUtilAfter', undef, 0, 1],
16 ['spaceDemandAfter', undef, 0, 1],
17 ['ioLatencyBefore', undef, 0, 1],
18 );
19  
20 sub get_class_ancestors {
21 return @class_ancestors;
22 }
23  
24 sub get_class_members {
25 my $class = shift;
26 my @super_members = $class->SUPER::get_class_members();
27 return (@super_members, @class_members);
28 }
29  
30 1;