lib/Rex/Interface/Shell/Ksh.pm

filter: Statementstmt 72.2% 13 / 18 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 58.6% 17 / 29 CC 2 SCAR 9.8
CC
2
Cov
62%
new
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« lib/Rex/Interface/Shell/Default.pm ↑ Summary lib/Rex/Interface/Shell/Tcsh.pm »
1 #
2 # (c) Jan Gehring <jan.gehring@gmail.com>
3 #
4  
5 package Rex::Interface::Shell::Ksh;
6  
7 3 ▶use v5.14.4;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 our $VERSION = '1.16.1'; # VERSION
11  
12 3 ▶use Rex::Interface::Shell::Bash;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 3 ▶use base qw(Rex::Interface::Shell::Bash);
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
17 0 my $class = shift;
18 0 ▶ my $proto = ref($class) || $class;
Condition0%0/3
ref $class || $class
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $class || $class
ref $class $class
Truth table0%0/3
A || B
A= ref $classB= $class
ABresult
1X1
011
000
19 0 my $self = $proto->SUPER::new(@_);
20  
21 0 bless( $self, $class );
22  
23 0 return $self;
24 }
25  
26 3 1;
« lib/Rex/Interface/Shell/Default.pm ↑ Summary lib/Rex/Interface/Shell/Tcsh.pm »