script/perlmogrify

filter: Statementstmt 100% 14 / 14 Branchbran 50.0% 1 / 2 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 80.0% 20 / 25 CC 1 SCAR 0.0
CC
1
Cov
84%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl/ToPerl6/Transformer/Builtins/Rename.pm ↑ Summary lib/Perl/ToPerl6/Transformer/Builtins/AddWhitespace.pm »
1 #!/usr/local/bin/perl
2  
3 package main;
4  
5 1 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Perl::ToPerl6::Command qw< run >;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 #-----------------------------------------------------------------------------
12  
13 1 our $VERSION = '0.040';
14  
15 #-----------------------------------------------------------------------------
16 # Begin program. Don't run when loaded as a library
17  
18 # This %ENV check is to allow perlmogrify to function when bundled under PAR,
19 # which invokes this program not as the top stack frame. -- rjbs, 2008-08-11
20 1 ▶exit run() if not caller or $ENV{PAR_0};
Branch: 1 branch
BranchTrueFalseTotal
if not caller or $ENV{"PAR_0"} 0 1 1
Condition33%1/3
not caller or $ENV{"PAR_0"}
l!l&&r!l&&!r
001
MC/DC0%0/2
not caller or $ENV{"PAR_0"}
not caller $ENV{"PAR_0"}
Truth table33%1/3
not(A) or B
A= not callerB= $ENV{"PAR_0"}
ABresult
1X1
011
000
21  
22 #-----------------------------------------------------------------------------
23 1 1;
24  
25 __END__
« lib/Perl/ToPerl6/Transformer/Builtins/Rename.pm ↑ Summary lib/Perl/ToPerl6/Transformer/Builtins/AddWhitespace.pm »