Branch Coverage

blib/lib/Text/Smart.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
185 0 2 ref $text ? :
188 2 48 if (/^\s*(___+|---+)\s*$/ and not $params{'no_rules'}) { }
2 46 elsif (/^\*\s/ and not $params{'no_lists'}) { }
2 44 elsif (/^\+\s/ and not $params{'no_lists'}) { }
12 32 elsif (/^&\w+\(.*\)/) { }
8 24 elsif (/\w/) { }
218 2 0 if $items[0] eq ''
229 2 0 if $items[0] eq ''
266 30 0 unless ($params{'no_links'})
275 30 0 unless ($params{'no_symbols'})
289 30 0 unless ($params{'no_links'})
296 30 0 unless ($params{'no_inline'})
315 30 0 unless ($params{'no_links'})
325 30 0 unless ($params{'no_symbols'})