Branch Coverage

blib/lib/BBCode/Tag/URL.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
36 11 4 if ($param eq 'HREF')
38 10 1 if (defined $url) { }
44 4 0 if ($param eq 'FOLLOW')
47 0 0 if ($param eq 'NEWWINDOW')
56 1 19 unless (defined $href)
59 0 1 unless (defined $url)
72 8 0 if (defined $href)
75 4 4 unless $this->isFollowed
76 0 8 if $this->openInNewWindow
77 0 8 if defined $title
81 8 0 if (defined $href)
94 0 0 if (defined $href) { }
96 0 0 if ($href =~ /^mailto:([\w.+-]+\@[\w.-]+)$/) { }
110 0 4 unless defined $ret
113 4 0 if (defined $href)