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

RexOps / Rex / 13165833239

05 Feb 2025 08:17PM UTC coverage: 50.923% (-0.09%) from 51.012%
13165833239

push

github

ferki
Release 1.16.0

 - No code changes since the 1.15.0.2-TRIAL release

10064 of 19763 relevant lines covered (50.92%)

100.43 hits per line

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

50.0
/lib/Rex/Virtualization/Base.pm
1
#
2
# (c) Jan Gehring <jan.gehring@gmail.com>
3
#
4

5
package Rex::Virtualization::Base;
6

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

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

12
sub new {
13
  my $that  = shift;
×
14
  my $proto = ref($that) || $that;
×
15
  my $self  = {@_};
×
16

17
  bless( $self, $proto );
×
18

19
  return $self;
×
20
}
21

22
sub execute {
23
  my ( $self, $action, $vmname, @opt ) = @_;
2✔
24

25
  my $mod = ref($self) . "::$action";
2✔
26
  eval "use $mod;";
2✔
27

28
  if ($@) {
2✔
29
    Rex::Logger::info("No action $action available.");
×
30
    die("No action $action available.");
×
31
  }
32

33
  return $mod->execute( $vmname, @opt );
2✔
34

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