blib/lib/Venus/String.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 25 | 28 | 89.2 |
line | true | false | branch |
---|---|---|---|
99 | 5 | 265 | &Scalar::Util::looks_like_number($data) ? : |
115 | 0 | 3 | unless defined $pattern |
119 | 1 | 1 | CORE::index($data, $pattern) < 0 ? : |
2 | 1 | unless $regexp | |
121 | 1 | 0 | $data =~ /$pattern/u ? : |
149 | 2 | 1 | unless defined $start |
210 | 5 | 71 | $self->comparer eq 'numified' ? : |
284 | 2 | 1 | unless defined $start |
317 | 2 | 1 | if $pattern and not $regexp |
319 | 2 | 1 | unless defined $limit |
338 | 2 | 2 | if (defined $replace) { } |
340 | 1 | 1 | wantarray ? : |
344 | 0 | 2 | wantarray ? : |
355 | 1 | 1 | $code ? : |