| blib/lib/String/Markov.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 24 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 59 | 353 | 132 | if ($self->stable) { } |
| 87 | 40 | 2 | if (my $norm = $self->normalize) |
| 101 | 2 | 44 | if ($sref eq 'ARRAY') { } |
| 43 | 1 | elsif (not $sref) { } | |
| 104 | 1 | 42 | unless defined $self->split_sep |
| 119 | 143 | 468 | if ($prob and ref $prob ne 'HASH') |
| 135 | 24 | 2 | if $do_chomp |
| 146 | 3 | 6668 | if @cur_state != $self->order |
| 153 | 16 | 6652 | unless $thresh |
| 158 | 169 | 6483 | if (ref $prob ne 'ARRAY') |
| 187 | 421 | 1 | defined $self->join_sep ? : |
| 1 | 422 | wantarray ? : |