blib/script/narada-lock

filter: Statementstmt 100% 29 / 29 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 97.4% 38 / 39 CC 1 SCAR 0.0
CC
1
Cov
97%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Narada/Log.pm ↑ Summary blib/script/narada-lock-exclusive »
1 #!/usr/bin/env perl
2 12 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 12 our $VERSION = 'v2.3.8';
8  
9 12 ▶use FindBin;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 12 ▶use lib "$FindBin::Bin/../lib/perl5";
Subroutine BEGIN: called CC=1 SCAR=0.0
11 12 ▶use Narada;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 12 ▶use Narada::Lock qw( shared_lock child_inherit_lock );
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 12 Narada::detect();
15  
16 12 ▶local @ARGV = @ARGV ? @ARGV : ('env', 'PS1=[SHARED] \u@\h \w \$ ', 'bash', '--norc');
Branch: 1 branch
BranchTrueFalseTotal
@ARGV ? : 12 0 12
17  
18 12 shared_lock();
19 12 child_inherit_lock(1);
20 12 exec @ARGV;
21  
22  
23 __END__
« blib/lib/Narada/Log.pm ↑ Summary blib/script/narada-lock-exclusive »