test_scripts/test_edo_returns.pl

filter: Statementstmt 100% 33 / 33 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 95.7% 45 / 47 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« test_scripts/makefile_rmfile.pl ↑ Summary
1  
2 1 ▶die "you're not running this right, use make test" unless -d "blib/lib";
Branch: 1 branch
BranchTrueFalseTotal
unless -d "blib/lib" 0 1 1
3 1 ▶BEGIN { unshift @INC, "blib/lib" }
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Term::GentooFunctions qw(:all);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 $Data::Dumper::Sortkeys = "hell yes!!";
11  
12 1 ▶equiet(1) if $ENV{SHH_QUIET};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"SHH_QUIET"} 0 1 1
13  
14 1 ▶my $r1 = edo "list2sclr returns " => sub { return (1,2,3,4) };
Subroutine __ANON__: called CC=1 SCAR=0.0
15 1 einfo Dumper(\$r1);
16  
17 1 ▶my @r2 = edo "list2arr returns " => sub { return (1,2,3,4) };
Subroutine __ANON__: called CC=1 SCAR=0.0
18 1 einfo Dumper(\@r2);
19  
20 1 ▶my @r3 = edo "arr2arr returns " => sub { my @a = (1,2,3,4); @a };
Subroutine __ANON__: called CC=1 SCAR=0.0
21 1 einfo Dumper(\@r3);
22  
23 1 ▶my %r4 = edo "list2hash returns " => sub { return (1,2,3,4) };
Subroutine __ANON__: called CC=1 SCAR=0.0
24 1 einfo Dumper(\%r4);
25  
26 1 ▶my %r5 = edo "hash2hash returns " => sub { my %h = (1,2,3,4); %h };
Subroutine __ANON__: called CC=1 SCAR=0.0
27 1 einfo Dumper(\%r5);
« test_scripts/makefile_rmfile.pl ↑ Summary