VMOMI/StorageMigrationAction.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 34 CC 1 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::StorageMigrationAction;
2 use parent 'VMOMI::ClusterAction';
3  
4 use strict;
5 use warnings;
6  
7 our @class_ancestors = (
8 'ClusterAction',
9 'DynamicData',
10 );
11  
12 our @class_members = (
13 ['vm', 'ManagedObjectReference', 0, ],
14 ['relocateSpec', 'VirtualMachineRelocateSpec', 0, ],
15 ['source', 'ManagedObjectReference', 0, ],
16 ['destination', 'ManagedObjectReference', 0, ],
17 ['sizeTransferred', undef, 0, ],
18 ['spaceUtilSrcBefore', undef, 0, 1],
19 ['spaceUtilDstBefore', undef, 0, 1],
20 ['spaceUtilSrcAfter', undef, 0, 1],
21 ['spaceUtilDstAfter', undef, 0, 1],
22 ['ioLatencySrcBefore', undef, 0, 1],
23 ['ioLatencyDstBefore', undef, 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;