HtmlTruncater S

Total Complexity 40
Dependencies 0
Dependents 1
Total lines 306
Lines of code 137
Logical lines of code 82
Comment lines 10
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
getSubstring()
A
49 8 34
assembleAbbreviatedString()
S
59 4 14
determineCase()
S
63 4 12
terminationConditionsMet()
S
65 3 9
setMoreHREF()
S
73 3 5
setMoreText()
S
73 3 5
tagComponent()
S
63 3 10
closingTagClose()
S
67 2 7
getPreviousTagType()
S
63 2 10
setTerminalLength()
S
81 1 3
setString()
S
76 1 4
__construct()
S
98 1 1
openingTagClose()
S
74 1 4
resetClass()
S
66 1 9
removeTagTypeFromArray()
S
81 1 3
addTagTypeToArray()
S
75 1 4
return_error()
S
81 1 3