t/githook-perltidy

filter: Statementstmt 100% 8 / 8 Branchbran 100% 2 / 2 Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 86.6% 13 / 15 CC 2 SCAR 5.4
CC
2
Cov
92%
BEGIN
2.1
BEGIN
1.0
CRAP 1.7
« blib/lib/App/githook_perltidy.pm ↑ Summary bin/githook-perltidy »
1 #!/usr/local/bin/perl
2  
3 ### Test script specific setup ###
4 21 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.2
5 21 $ENV{PATH} = "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/t" .':'.$ENV{PATH};
6 21 ▶ $ENV{SHARE_DIR} //= "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/share";
Condition50%1/2
$ENV{"SHARE_DIR"} //= "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/share"
l!l
021
MC/DC0%0/1
$ENV{"SHARE_DIR"} //= "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/share"
$ENV{"SHARE_DIR"}
Truth table50%1/2
A
A= $ENV{"SHARE_DIR"}
Aresult
11
00
7 }
8 21 ▶use lib "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/lib";
Subroutine BEGIN: called CC=1 SCAR=0.0
9 21 my $ret = do "/home/cpancover/.cpan/build/App-githook-perltidy-1.0.1-0/bin/githook-perltidy";
10 19 ▶die $@ if $@;
Branch: 1 branch
BranchTrueFalseTotal
if $@ 8 11 19
11 11 $ret;
« blib/lib/App/githook_perltidy.pm ↑ Summary bin/githook-perltidy »