VMOMI/VirtualMachineQuickStats.pm untested

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