script/cpane

filter: Statementstmt 100% 10 / 10 Branchbran 100% 4 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/App/cpanexec.pm ↑ Summary
1 #!/usr/bin/env perl
2 #
3 # https://github.com/oklas/cpanexec
4  
5 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use local::lib;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 ▶die "Script or execuble may be with args required\n"
Branch: 1 branch
BranchTrueFalseTotal
unless scalar @ARGV 1 3 4
9 unless scalar @ARGV;
10  
11 3 ▶die "There is no folder 'local' in current dir\n"
Branch: 1 branch
BranchTrueFalseTotal
unless -d "./local" 1 2 3
12 unless -d "./local";
13  
14 2 local::lib->setup_env_hash_for("./local");
15  
16 2 exec @ARGV;
« blib/lib/App/cpanexec.pm ↑ Summary