Branch Coverage

blib/lib/Venus/Number.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
103 0 3 unless defined $pattern
107 1 1 CORE::index($data, $pattern) < 0 ? :
2 1 unless $regexp
109 1 0 $data =~ /$pattern/u ? :
170 2 1 unless defined $start
227 0 1 $data =~ /^-(.*)/u ? :
266 1 1 $data > $arg + 0 ? :
315 2 2 if (defined $replace) { }
317 1 1 wantarray ? :
321 0 2 wantarray ? :