t/test09.p

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
foo
1.0
bar
1.0
CRAP 1.0
« t/test08.p ↑ Summary t/test10.p »
1 32 ▶sub foo {
Subroutine foo: called CC=1 SCAR=0.0
2 32 eval "shift;
3 shift;
4 bar();";
5 }
6  
7 48 ▶sub bar {
Subroutine bar: called CC=1 SCAR=0.0
8 48 eval '$a = 10_001; while (--$a) { ++$b }';
9 }
10  
11 16 foo();
12 16 foo();
13 16 bar();
« t/test08.p ↑ Summary t/test10.p »