Branch Coverage

blib/lib/Text/Tweet.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
62 28 52 if (ref $_ eq 'SCALAR') { }
79 26 25 if (ref $part eq 'ARRAY') { }
0 25 elsif (ref $part eq 'HASH') { }
11 14 elsif (ref $part eq 'SCALAR') { }
85 11 0 if ${$scalar_newpart;}
89 25 26 if $newpart
98 35 3 unless (grep {lc $_ eq lc $keyword;} @used_keywords)
102 0 35 if $count + 1 + length($marker) > $self->maxlen
110 23 12 unless ($self->hashtags_at_end)
112 6 23 if ref $_ eq 'SCALAR'
115 17 6 if ($_ ne $original_part)
122 18 17 if ($self->hashtags_at_end or not $self->hashtags_at_end || $found_in_parts)
123 16 2 if ($count + 1 + length($hkeyword) <= $self->maxlen)
131 11 14 if ref $_ eq 'SCALAR'