Branch Coverage

blib/lib/String/Markov.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
78 20 2 if (my $norm = $self->normalize)
92 2 24 if ($sref eq 'ARRAY') { }
23 1 elsif (not $sref) { }
95 1 22 unless defined $self->split_sep
110 149 138 if ($prob and ref $prob ne 'HASH')
126 4 2 if $do_chomp
137 3 294 if @cur_state != $self->order
144 16 278 unless $thresh
149 175 103 if (ref $prob ne 'ARRAY')
178 19 1 defined $self->join_sep ? :
1 20 wantarray ? :