t/test21-streval3.p

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 4 / 4 CC 1 SCAR 0.0
CC
1
Cov
100%
foo
1.0
CRAP 1.0
« t/test18-goto2.pm ↑ Summary t/test22-strevala.p »
1 # test nested string evals
2  
3  
4 48 ▶sub foo { 1 }
Subroutine foo: called CC=1 SCAR=0.0
5 16 my $code = q{
6 select(undef,undef,undef,0.2);
7 foo();
8 eval q{
9 select(undef,undef,undef,0.2);
10 foo();
11 eval q{
12 select(undef,undef,undef,0.2);
13 foo();
14 }
15 }
16 };
17 16 eval $code;
« t/test18-goto2.pm ↑ Summary t/test22-strevala.p »