VMOMI/KernelModuleInfo.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 28 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::KernelModuleInfo;
2 use parent 'VMOMI::DynamicData';
3  
4 our @class_ancestors = (
5 'DynamicData',
6 );
7  
8 our @class_members = (
9 ['id', undef, 0, ],
10 ['name', undef, 0, ],
11 ['version', undef, 0, ],
12 ['filename', undef, 0, ],
13 ['optionString', undef, 0, ],
14 ['loaded', 'boolean', 0, ],
15 ['enabled', 'boolean', 0, ],
16 ['useCount', undef, 0, ],
17 ['readOnlySection', 'KernelModuleSectionInfo', 0, ],
18 ['writableSection', 'KernelModuleSectionInfo', 0, ],
19 ['textSection', 'KernelModuleSectionInfo', 0, ],
20 ['dataSection', 'KernelModuleSectionInfo', 0, ],
21 ['bssSection', 'KernelModuleSectionInfo', 0, ],
22 );
23  
24 sub get_class_ancestors {
25 return @class_ancestors;
26 }
27  
28 sub get_class_members {
29 my $class = shift;
30 my @super_members = $class->SUPER::get_class_members();
31 return (@super_members, @class_members);
32 }
33  
34 1;