VW/Stop.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
run
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package App::VW::Stop;
2 use strict;
3 use warnings;
4 use base 'App::VW::Command';
5  
6 sub run {
7 my ($self) = @_;
8 system("/etc/init.d/vw stop");
9 }
10  
11 1;
12  
13 =head1 NAME
14  
15 App::VW::Stop - stop all configured Squatting apps
16  
17 =head1 SYNOPSIS
18  
19 Usage:
20  
21 vw stop
22  
23 =head1 DESCRIPTION
24  
25 This is a wrapper around:
26  
27 /etc/init.d/vw stop
28  
29 =cut