Parsedown D

Total Complexity 296
Dependencies 0
Dependents 0
Total lines 1,800
Lines of code 1,114
Logical lines of code 548
Comment lines 116
Methods 67
Properties 18

Methods 67

Method Rating Maintainability Complexity Lines of code
linesElements()
C
35 24 80
blockTable()
B
36 17 81
element()
B
42 19 47
blockListContinue()
B
40 17 56
blockList()
A
41 13 51
lineElements()
A
43 12 49
inlineMarkup()
A
52 10 23
inlineLink()
A
44 7 49
blockTableContinue()
A
47 7 36
sanitiseElement()
S
52 7 25
elements()
S
57 7 17
inlineUrl()
S
53 6 22
blockSetextHeader()
S
62 7 9
inlineEmphasis()
S
52 5 24
handle()
S
54 5 23
blockHeader()
S
54 5 22
blockMarkup()
S
55 5 19
blockCode()
S
56 5 18
blockFencedCodeContinue()
S
55 5 18
blockComment()
S
57 5 17
blockFencedCode()
S
51 4 28
blockQuoteContinue()
S
60 5 13
inlineImage()
S
52 4 24
inlineEmailTag()
S
53 4 23
inlineStrikethrough()
S
56 4 18
blockReference()
S
57 4 16
li()
S
63 5 10
inlineSpecialCharacter()
S
61 4 11
inlineUrlTag()
S
58 3 15
blockListComplete()
S
63 4 10
extractElement()
S
64 4 10
pregReplaceElements()
S
58 3 15
blockCodeContinue()
S
61 3 12
blockRule()
S
62 3 11
inlineEscapeSequence()
S
66 3 8
inlineText()
S
59 2 15
blockQuote()
S
59 2 15
elementApplyRecursive()
S
65 3 9
elementApplyRecursiveDepthFirst()
S
65 3 9
blockMarkupContinue()
S
67 3 7
blockCommentContinue()
S
63 3 10
filterUnsafeUrlInAttribute()
S
64 3 9
inlineCode()
S
59 2 14
paragraphContinue()
S
68 2 7
elementsApplyRecursive()
S
70 2 6
elementsApplyRecursiveDepthFirst()
S
70 2 6
escape()
S
77 2 3
striAtStart()
S
66 2 8
instance()
S
67 2 8
paragraph()
S
61 1 13
unmarkedText()
S
75 1 4
lines()
S
80 1 3
setBreaksEnabled()
S
77 1 4
setMarkupEscaped()
S
77 1 4
setUrlsLinked()
S
77 1 4
setSafeMode()
S
77 1 4
parse()
S
77 1 4
setStrictMode()
S
77 1 4
isBlockContinuable()
S
78 1 3
handleElementRecursive()
S
79 1 3
isBlockCompletable()
S
78 1 3
blockCodeComplete()
S
82 1 3
blockFencedCodeComplete()
S
82 1 3
textElements()
S
68 1 7
line()
S
79 1 3
handleElementsRecursive()
S
79 1 3
text()
S
70 1 6