BCSSH/Command/vi.pm

filter: Statementstmt 61.9% 13 / 21 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 1 totaltotal 51.6% 16 / 31 CC 4 SCAR 17.6
CC
4
Cov
52%
run
12.0
__ANON__
3.7
BEGIN
1.0
CRAP 5.8
« BCSSH/Handler/browse.pm ↑ Summary BCSSH/Message.pm »
1 package App::BCSSH::Command::vi;
2 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use App::BCSSH::Options;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 with Options;
5 1 with 'App::BCSSH::Client';
6  
7 1 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶has 'wait' => (is => 'ro', coerce => sub { $_[0] ? 1 : 0 }, arg_spec => 'f');
Subroutine __ANON__: not called CC=2 SCAR=13.0
Branch: 1 branch
BranchTrueFalseTotal
$_[0] ? : 0 0 0
10  
11 0 ▶sub run {
Subroutine run: not called CC=3 SCAR=24.8
Pod undocumented
12 0 my $self = shift;
13 0 my @files = @{ $self->args };
14 0 ▶ @files or die "At least one file must be specified!\n";
Branch: 1 branch
BranchTrueFalseTotal
@files or die "At least one file must be specified!\n" 0 0 0
15 0 for my $file (@files) {
16 0 $file = File::Spec->rel2abs($file);
17 }
18 0 $self->command({ wait => $self->wait, files => \@files });
19 }
20  
21 1 1;
22 __END__
« BCSSH/Handler/browse.pm ↑ Summary BCSSH/Message.pm »