• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ferki / Rex / 15240232617

28 Feb 2025 09:08AM UTC coverage: 50.961% (+10.2%) from 40.73%
15240232617

push

github

ferki
Use placeholders for template hints

10072 of 19764 relevant lines covered (50.96%)

101.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

44.44
/lib/Rex/Inventory/SMBios/MemoryArray.pm
1
#
2
# (c) Jan Gehring <jan.gehring@gmail.com>
3
#
4

5
package Rex::Inventory::SMBios::MemoryArray;
6

7
use v5.12.5;
39✔
8
use warnings;
39✔
9

10
our $VERSION = '9999.99.99_99'; # VERSION
11

12
use Rex::Inventory::SMBios::Section;
39✔
13
use base qw(Rex::Inventory::SMBios::Section);
39✔
14

15
__PACKAGE__->section("physical memory array");
16

17
__PACKAGE__->has(
18
  [
19
    { key => 'Number Of Devices',     from => "Number of Slots/Sockets" },
20
    { key => 'Error Correction Type', from => "ECC" },
21
    { key => 'Maximum Capacity',      from => "Max Capacity" },
22
    'Location',
23
  ],
24
  1
25
);
26

27
sub new {
28
  my $that  = shift;
×
29
  my $proto = ref($that) || $that;
×
30
  my $self  = $that->SUPER::new(@_);
×
31

32
  bless( $self, $proto );
×
33

34
  return $self;
×
35
}
36

37
1;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc