Subroutine Coverage

blib/lib/BBCode/Tag.pm
Criterion Covered Total %
subroutine 33 37 89.1
pod 24 31 77.4


line count pod subroutine
3 6 n/a BEGIN
4 6 n/a BEGIN
5 6 n/a BEGIN
6 6 n/a BEGIN
7 6 n/a BEGIN
8 6 n/a BEGIN
19 2097 Yes Tag
27 103 Yes Class
31 261 Yes BodyPermitted
35 0 Yes BodyTags
39 139 Yes NamedParams
43 0 Yes RequiredParams
47 2 Yes DefaultParam
51 56 Yes OpenPre
55 56 Yes OpenPost
59 54 Yes ClosePre
63 54 Yes ClosePost
70 137 Yes validateParam
77 270 Yes new
102 269 No init
124 97 Yes parser
128 199 Yes isPermitted
139 197 Yes forbidTags
158 552 Yes body
169 94 Yes bodyHTML
173 5 Yes bodyText
177 199 Yes pushBody
194 568 No param
209 78 No params
221 304 No replace
225 243 No replaceBody
232 14 No isFollowed
244 8 No openInNewWindow
256 56 Yes toBBCode
292 0 Yes toHTML
302 0 Yes toText
307 26 Yes toLinkList