| blib/lib/Venus/String.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 28 | 89.2 |
| line | true | false | branch |
|---|---|---|---|
| 85 | 5 | 265 | &Scalar::Util::looks_like_number($data) ? : |
| 101 | 0 | 3 | unless defined $pattern |
| 105 | 1 | 1 | CORE::index($data, $pattern) < 0 ? : |
| 2 | 1 | unless $regexp | |
| 107 | 1 | 0 | $data =~ /$pattern/u ? : |
| 135 | 2 | 1 | unless defined $start |
| 196 | 5 | 71 | $self->comparer eq 'numified' ? : |
| 270 | 2 | 1 | unless defined $start |
| 303 | 2 | 1 | if $pattern and not $regexp |
| 305 | 2 | 1 | unless defined $limit |
| 324 | 2 | 2 | if (defined $replace) { } |
| 326 | 1 | 1 | wantarray ? : |
| 330 | 0 | 2 | wantarray ? : |
| 341 | 1 | 1 | $code ? : |