Branch Coverage

lib/Spreadsheet/Engine/Function/SUBSTITUTE.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
14 47 13 if (not $which) { }
13 0 elsif ($which >= 1) { }
15 26 21 if length $oldtext > 0
18 13 13 if ($i == $which)
22 0 13 unless $string =~ /\Q$oldtext\E/g