File Coverage

lib/Rex/Interface/Shell/Sh.pm
Criterion Covered Total %
statement 11 16 68.7
branch n/a
condition 0 3 0.0
subroutine 4 5 80.0
pod 0 1 0.0
total 15 25 60.0


line stmt bran cond sub pod time code
1             #
2             # (c) Jan Gehring
3             #
4              
5             package Rex::Interface::Shell::Sh;
6              
7 1     1   16 use v5.12.5;
  1         4  
8 1     1   5 use warnings;
  1         2  
  1         59  
9              
10             our $VERSION = '1.14.2.2'; # TRIAL VERSION
11              
12 1     1   8 use Rex::Interface::Shell::Bash;
  1         2  
  1         6  
13              
14 1     1   35 use base qw(Rex::Interface::Shell::Bash);
  1         1  
  1         141  
15              
16             sub new {
17 0     0 0   my $class = shift;
18 0   0       my $proto = ref($class) || $class;
19 0           my $self = $proto->SUPER::new(@_);
20              
21 0           bless( $self, $class );
22              
23 0           return $self;
24             }
25              
26             1;