Branch Coverage

blib/lib/Markup/Unified.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
61 0 0 if (can_load('modules', {'Text::Textile', '2.12'}))
67 0 0 if (can_load('modules', {'Text::Markdown', '1.0.25'}))
72 0 0 if (can_load('modules', {'HTML::BBCode', '2.06'}))
77 0 0 can_load('modules', {'HTML::Truncate', '0.20'}) ? :
97 0 0 if ($markup_lang and $markup_lang =~ /^bbcode/i) { }
0 0 elsif ($markup_lang and $markup_lang =~ /^textile/i) { }
0 0 elsif ($markup_lang and $markup_lang =~ /^markdown/i) { }
162 0 0 unless $$self{'trunc'}
166 0 0 /^(\d+)%$/ ? :
0 0 $length_str =~ /^(\d+)c$/i ? :
169 0 0 if $ellipsis
188 0 0 if ($markup_lang =~ /^textile$/i and $$self{'t'}) { }
0 0 elsif ($markup_lang =~ /^markdown$/i and $$self{'m'}) { }
0 0 elsif ($markup_lang =~ /^bbcode$/i and $$self{'b'}) { }
207 0 0 $$self{'b'} ? :
214 0 0 $$self{'t'} ? :
221 0 0 $$self{'m'} ? :