t/test61-submerge.p

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 6 / 6 CC 1 SCAR 0.0
CC
1
Cov
100%
foo
1.0
CRAP 1.0
« t/test50-disable.p ↑ Summary
1 # test merging of sub info and sub callers
2 # which is applied to, e.g., anon subs inside evals
3  
4 48 ▶sub foo { print "foo @_\n" }
Subroutine foo: called CC=1 SCAR=0.0
5  
6 16 my $code = qq{ sub { foo() } $Devel::NYTProf::StrEvalTestPad};
7  
8 16 eval($code)->(); eval($code)->(); eval($code)->();
« t/test50-disable.p ↑ Summary