VMOMI/VirtualMachineQuickStats.pm untested

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 35 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::VirtualMachineQuickStats;
2 use parent 'VMOMI::DynamicData';
3  
4 our @class_ancestors = (
5 'DynamicData',
6 );
7  
8 our @class_members = (
9 ['overallCpuUsage', undef, 0, 1],
10 ['overallCpuDemand', undef, 0, 1],
11 ['guestMemoryUsage', undef, 0, 1],
12 ['hostMemoryUsage', undef, 0, 1],
13 ['guestHeartbeatStatus', 'ManagedEntityStatus', 0, ],
14 ['distributedCpuEntitlement', undef, 0, 1],
15 ['distributedMemoryEntitlement', undef, 0, 1],
16 ['staticCpuEntitlement', undef, 0, 1],
17 ['staticMemoryEntitlement', undef, 0, 1],
18 ['privateMemory', undef, 0, 1],
19 ['sharedMemory', undef, 0, 1],
20 ['swappedMemory', undef, 0, 1],
21 ['balloonedMemory', undef, 0, 1],
22 ['consumedOverheadMemory', undef, 0, 1],
23 ['ftLogBandwidth', undef, 0, 1],
24 ['ftSecondaryLatency', undef, 0, 1],
25 ['ftLatencyStatus', 'ManagedEntityStatus', 0, 1],
26 ['compressedMemory', undef, 0, 1],
27 ['uptimeSeconds', undef, 0, 1],
28 ['ssdSwappedMemory', undef, 0, 1],
29 );
30  
31 sub get_class_ancestors {
32 return @class_ancestors;
33 }
34  
35 sub get_class_members {
36 my $class = shift;
37 my @super_members = $class->SUPER::get_class_members();
38 return (@super_members, @class_members);
39 }
40  
41 1;