Branch Coverage

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


line true false branch
65 0 0 if (can_load('modules', {'Text::Textile', '2.12'}))
71 0 0 if (can_load('modules', {'Text::Markdown', '1.0.25'}))
76 0 0 if (can_load('modules', {'HTML::BBCode', '2.06'}))
81 0 0 can_load('modules', {'HTML::Truncate', '0.20'}) ? :
101 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) { }
166 0 0 unless $$self{'trunc'}
170 0 0 /^(\d+)%$/ ? :
0 0 $length_str =~ /^(\d+)c$/i ? :
173 0 0 if $ellipsis
192 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'}) { }
211 0 0 $$self{'b'} ? :
218 0 0 $$self{'t'} ? :
225 0 0 $$self{'m'} ? :