PerlActor/Command/Run.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
execute
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package PerlActor::Command::Run;
2 use strict;
3  
4 use base 'PerlActor::Command';
5  
6 use PerlActor::Exception;
7  
8 #===============================================================================================
9 # Public Methods
10 #===============================================================================================
11  
12 sub execute
13 {
14 my $self = shift;
15 my $file = $self->getParam(0);
16 $self->executeScript($file);
17 }
18  
19 #===============================================================================================
20 # Protected Methods - Don't even think about calling these from outside the class.
21 #===============================================================================================
22  
23 # Keep Perl happy.
24 1;