TCPDF D

Total Complexity 4,767
Dependencies 19
Dependents 1
Total lines 24,348
Lines of code 16,660
Logical lines of code 12,027
Comment lines 7,003
Methods 415
Properties 241

Methods 415

Method Rating Maintainability Complexity Lines of code
writeHTML()
D
0
499 1,390
startSVGElementHandler()
D
0
229 614
getHtmlDomArray()
D
0
215 681
_putannotsobjs()
D
0
216 595
openHTMLTagHandler()
D
0
204 631
closeHTMLTagHandler()
D
0
159 503
getCellCode()
D
4
120 374
Image()
D
6
106 343
Write()
D
8
101 377
ImageEps()
D
10
97 285
SVGPath()
D
12
78 337
AddFont()
D
15
83 207
write1DBarcode()
D
14
79 266
MultiCell()
D
13
74 315
setSVGStyles()
D
15
66 255
ImageSVG()
D
15
61 275
write2DBarcode()
D
21
59 181
deletePage()
D
23
56 173
movePage()
D
24
55 155
_putcatalog()
D
23
49 153
drawHTMLTagBorder()
D
23
46 175
getCellBorder()
D
25
38 172
setPageFormat()
D
31 43 90
addTOC()
D
24
36 176
putHtmlListBullet()
D
25
37 156
_putencryption()
D
30 39 101
Button()
D
25
35 148
_putimages()
D
29 36 107
_putfonts()
D
28
34 127
_putpages()
D
27
30 142
Output()
D
26
27 158
_putxobjects()
C
32 30 90
_putbookmarks()
C
31 27 97
printTemplate()
C
31 26 111
_putshaders()
C
26
22 166
_putviewerpreferences()
C
37 27 67
colorRegistrationBar()
C
31 23 121
endSVGElementHandler()
C
34 25 87
Gradient()
C
34 24 92
addHTMLTOC()
C
32 22 107
Annotation()
C
35 24 74
SetProtection()
C
34 23 87
checkPageRegions()
C
37 24 70
adjustCellPadding()
B
39 24 60
getNumLines()
B
37 22 68
_outellipticalarc()
B
34 18 96
_putsignature()
B
38 20 65
Rect()
B
41 21 48
setPageOrientation()
B
37 18 75
fitBlock()
B
42 19 54
Polygon()
B
39 18 67
getHTMLUnitToUnits()
B
40 17 66
selectColumn()
B
39 17 63
hyphenateWord()
B
40 17 56
setColor()
B
38 16 70
SetLineStyle()
B
41 17 54
ImagePngAlpha()
B
37 16 68
Header()
B
38 15 63
CoonsPatchMesh()
A
38 14 72
_putresourcedict()
A
41 15 54
copyPage()
A
42 15 52
_getannotsrefs()
A
47 16 32
getCSSFontStretching()
A
41 14 62
_puttruetypeunicode()
A
36 13 77
RadioButton()
A
36 13 75
TextField()
A
37 13 73
_generateencryptionkey()
A
36 12 77
startPage()
A
44 14 45
RoundedRectXY()
A
42 13 55
Bookmark()
A
45 14 40
setTextShadow()
A
46 14 35
SetFontSize()
A
48 14 29
hyphenateText()
A
43 13 44
_enddoc()
A
38 11 72
_putjavascript()
A
45 13 38
_putcidfont0()
A
39 11 64
__construct()
A
31 7 117
setTableHeader()
A
42 11 51
setDestination()
A
48 12 33
addPageRegion()
A
61 14 10
cropMark()
A
41 10 56
ComboBox()
A
39 9 64
ListBox()
A
39 9 63
getHTMLFontUnits()
A
46 10 46
_destroy()
A
49 11 29
getCSSBorderDashStyle()
A
52 11 28
CheckBox()
A
41 9 55
checkPageBreak()
A
49 10 32
replaceMissingChars()
A
50 10 28
setTextRenderingMode()
A
49 9 38
_beginpage()
A
48 9 34
addHtmlLink()
A
48 9 31
Cell()
A
44 8 44
Ln()
A
52 9 24
_putXMP()
A
32 2 126
getFontBBox()
A
49 8 31
setCellMargins()
A
59 9 14
setCellPaddings()
A
59 9 14
_Ovalue()
A
49 8 28
setTempRTL()
A
54 8 25
Arrow()
A
46 7 40
Footer()
A
45 7 38
setSpotColor()
A
47 7 36
Ellipse()
A
54 8 20
setPage()
A
47 7 34
_putinfo()
A
49 7 32
startTemplate()
A
44 6 47
setPageUnit()
S
51 7 30
getCSSMargin()
S
45 6 45
getCSSPadding()
S
46 6 45
setColorArray()
S
58 8 14
getCSSBorderStyle()
S
46 6 42
GetArrStringWidth()
S
51 7 25
SetX()
S
55 7 22
Polycurve()
S
53 7 21
Skew()
S
53 7 21
SetY()
S
55 7 21
_putocg()
S
55 7 18
_out()
S
55 7 17
setOverprint()
S
56 7 17
_putEmbeddedFiles()
S
49 6 30
setGraphicVars()
S
40 4 58
setFooter()
S
45 5 43
setVisibility()
S
53 6 25
_Uvalue()
S
51 6 23
setEqualColumns()
S
52 6 23
_encrypt_data()
S
55 6 21
setAlpha()
S
52 6 21
addExtGState()
S
56 6 19
_putextgstates()
S
55 6 19
setHeader()
S
49 5 33
Close()
S
49 5 30
AddPage()
S
60 6 13
StarPolygon()
S
50 5 27
replaceRightShiftPageNumAliases()
S
51 5 25
Scale()
S
53 5 23
_addfield()
S
51 5 23
PieSectorXY()
S
53 5 22
SetFont()
S
57 5 16
Transform()
S
55 5 16
getRawCharWidth()
S
59 5 15
setSpacesRE()
S
58 5 15
SetDisplayMode()
S
63 6 9
Curve()
S
57 5 15
SetLink()
S
58 5 14
endPage()
S
62 5 11
getCSSBorderMargin()
S
52 4 25
getFontFamilyName()
S
53 4 23
getCSSFontSpacing()
S
55 4 22
getSignatureAppearanceArray()
S
55 4 19
addHTMLVertSpace()
S
57 4 19
setTimeStamp()
S
56 4 18
RegularPolygon()
S
56 4 16
StopTransform()
S
59 4 15
GetCharWidth()
S
63 5 10
isCharDefined()
S
58 4 15
rollbackTransaction()
S
61 4 13
setPageBuffer()
S
62 4 12
AcceptPageBreak()
S
62 4 12
getCSSBorderWidth()
S
61 4 12
getGraphicVars()
S
42 1 52
setSignature()
S
55 3 20
Rotate()
S
56 3 18
getAliasRightShift()
S
57 3 16
setRTL()
S
65 4 9
getFontsList()
S
63 4 10
startLayer()
S
58 3 14
StartTransform()
S
60 3 13
setLIsymbol()
S
59 3 13
_putdests()
S
59 3 13
SetMargins()
S
62 3 12
Clip()
S
60 3 12
getGDgamma()
S
61 3 11
Line()
S
63 3 11
getCharBBox()
S
62 3 11
_putAPXObject()
S
52 2 24
registrationMark()
S
56 2 17
SetLeftMargin()
S
70 3 6
getFontAscent()
S
62 3 10
Error()
S
66 3 8
__destruct()
S
70 3 6
setFontSubsetting()
S
69 3 7
setPageBoxTypes()
S
67 3 8
_dochecks()
S
66 3 8
endLayer()
S
66 3 9
setLanguageArray()
S
66 3 8
SetBooklet()
S
66 3 9
SetCompression()
S
69 3 7
getFontDescent()
S
62 3 10
setExtGState()
S
70 3 6
setContentMark()
S
64 3 10
_datestring()
S
69 3 6
setJPEGQuality()
S
70 3 6
SetRightMargin()
S
70 3 6
SetTopMargin()
S
70 3 6
getInternalPageNumberAliases()
S
59 2 14
getStringHeight()
S
60 2 13
_putspotcolors()
S
59 2 13
setUserRights()
S
61 2 12
registrationMarkCMYK()
S
54 1 20
_putresources()
S
60 1 16
getMargins()
S
58 1 16
getCellHeight()
S
67 2 7
getImageBuffer()
S
71 2 6
setPDFVersion()
S
70 2 7
commitTransaction()
S
71 2 6
setPageRegions()
S
71 2 6
setFontBuffer()
S
65 2 9
GetX()
S
70 2 7
startTransaction()
S
67 2 8
inPageBody()
S
78 2 3
getRemainingWidth()
S
66 2 8
GetNumChars()
S
70 2 6
setHeaderTemplateAutoreset()
S
79 2 3
sortBookmarks()
S
65 2 9
isRTLTextDir()
S
79 2 3
getBreakMargin()
S
71 2 6
startPageGroup()
S
70 2 6
applyTSA()
S
73 2 6
addJavascriptObject()
S
66 2 8
getPageHeight()
S
71 2 6
getPageNumGroupAlias()
S
71 2 6
getPageWidth()
S
71 2 6
getPageDimensions()
S
71 2 6
getPageGroupAlias()
S
71 2 6
replaceChar()
S
69 2 7
removeTagNamespace()
S
67 2 7
getAliasNumPage()
S
71 2 6
getAliasNbPages()
S
71 2 6
setPrintHeader()
S
79 2 3
setFontSubBuffer()
S
70 2 6
setPrintFooter()
S
79 2 3
getFontBuffer()
S
71 2 6
setImageSubBuffer()
S
70 2 6
AddSpotColor()
S
68 2 6
setImageBuffer()
S
65 2 9
getPageBuffer()
S
71 2 6
unserializeTCPDFtagParameters()
S
66 2 8
_textstring()
S
70 2 6
_getxobjectdict()
S
67 2 7
SetAutoPageBreak()
S
72 2 5
_getrawstream()
S
70 2 6
removePageRegion()
S
73 2 5
_fixAES256Password()
S
65 2 8
setDocCreationTimestamp()
S
71 2 6
setSRGBmode()
S
79 2 3
swapMargins()
S
65 2 10
_getobj()
S
65 2 9
SetDocInfoUnicode()
S
79 2 3
getPDFData()
S
71 2 6
_objectkey()
S
63 2 9
setDocModificationTimestamp()
S
71 2 6
getSpaceString()
S
69 2 7
getBorderStartPosition()
S
65 2 8
endTemplate()
S
67 2 8
isUnicodeFont()
S
77 2 3
_outCurveY()
S
70 2 5
_outCurveV()
S
70 2 5
_outCurve()
S
70 2 5
_outRect()
S
70 2 5
getAllInternalPageNumberAliases()
S
66 2 8
_outLine()
S
71 2 5
SetLineWidth()
S
68 2 7
SetCellPadding()
S
67 2 8
_datastring()
S
68 2 7
_outPoint()
S
71 2 5
convertSVGtMatrix()
S
59 1 13
getColumn()
S
82 1 3
setHtmlVSpace()
S
81 1 3
setColumnsArray()
S
69 1 7
_outSaveGraphicsState()
S
81 1 3
setHtmlLinksStyle()
S
77 1 4
resetColumns()
S
74 1 5
setBarcode()
S
81 1 3
setListIndentWidth()
S
79 1 3
setOpenCell()
S
81 1 3
getNumberOfColumns()
S
82 1 3
_outRestoreGraphicsState()
S
81 1 3
PieSector()
S
77 1 3
getBarcode()
S
82 1 3
getFontStretching()
S
82 1 3
getTextShadow()
S
82 1 3
serializeTCPDFtagParameters()
S
75 1 4
stringTrim()
S
73 1 5
stringRightTrim()
S
77 1 3
stringLeftTrim()
S
77 1 3
fixHTMLCode()
S
78 1 3
setFontStretching()
S
81 1 3
getFontSubsetting()
S
82 1 3
getFontStyle()
S
82 1 3
getFontFamily()
S
82 1 3
getHashForTCPDFtagParams()
S
78 1 3
setRasterizeVectorImages()
S
81 1 3
setBuffer()
S
76 1 4
SVGTransform()
S
80 1 3
writeHTMLCell()
S
75 1 3
getFontSizePt()
S
82 1 3
getFontSize()
S
82 1 3
getBuffer()
S
82 1 3
getOriginalMargins()
S
69 1 7
setFontSpacing()
S
81 1 3
replaceBuffer()
S
76 1 4
getFontSpacing()
S
82 1 3
getPageRegions()
S
82 1 3
ScaleXY()
S
79 1 3
RadialGradient()
S
72 1 4
SetFillColorArray()
S
79 1 3
getFooterMargin()
S
82 1 3
getImageRBX()
S
82 1 3
getImageRBY()
S
82 1 3
resetHeaderTemplate()
S
81 1 3
PageNo()
S
82 1 3
getAllSpotColors()
S
82 1 3
SetDrawSpotColor()
S
79 1 3
SetFillSpotColor()
S
79 1 3
SetTextSpotColor()
S
79 1 3
SetDrawColorArray()
S
79 1 3
SetTextColorArray()
S
79 1 3
getHeaderMargin()
S
82 1 3
SetDrawColor()
S
77 1 3
SetFillColor()
S
77 1 3
SetTextColor()
S
77 1 3
GetStringWidth()
S
76 1 3
getAbsFontMeasure()
S
79 1 3
SetDefaultMonospacedFont()
S
81 1 3
AddLink()
S
71 1 5
Link()
S
77 1 3
Text()
S
63 1 9
GetAbsX()
S
82 1 3
GetY()
S
82 1 3
setFooterMargin()
S
81 1 3
setHeaderMargin()
S
81 1 3
SetAbsX()
S
80 1 3
SetSubject()
S
81 1 3
getRTL()
S
82 1 3
setLastH()
S
81 1 3
resetLastH()
S
80 1 3
getLastH()
S
82 1 3
setImageScale()
S
81 1 3
getImageScale()
S
82 1 3
getScaleFactor()
S
82 1 3
getCellPaddings()
S
82 1 3
getCellMargins()
S
82 1 3
getAutoPageBreak()
S
82 1 3
SetTitle()
S
81 1 3
SetAuthor()
S
81 1 3
getHeaderData()
S
64 1 10
SetKeywords()
S
81 1 3
SetCreator()
S
81 1 3
Open()
S
81 1 3
lastPage()
S
80 1 3
getPage()
S
82 1 3
getNumPages()
S
82 1 3
addTOCPage()
S
79 1 3
endTOCPage()
S
81 1 3
setPageMark()
S
73 1 5
setHeaderData()
S
67 1 8
setFooterData()
S
77 1 4
SetXY()
S
75 1 4
SetAbsY()
S
80 1 3
LinearGradient()
S
72 1 4
getFormDefaultProp()
S
82 1 3
Translate()
S
64 1 10
SkewX()
S
79 1 3
SkewY()
S
79 1 3
GetLineWidth()
S
82 1 3
Circle()
S
76 1 3
PolyLine()
S
78 1 3
RoundedRect()
S
77 1 3
getDestination()
S
82 1 3
setBookmark()
S
77 1 3
IncludeJS()
S
81 1 3
setFormDefaultProp()
S
81 1 3
setSignatureAppearance()
S
77 1 3
TranslateX()
S
80 1 3
addEmptySignatureAppearance()
S
73 1 4
setStartingPageNumber()
S
78 1 3
getGroupPageNo()
S
80 1 3
getGroupPageNoFormatted()
S
80 1 3
PageNoFormatted()
S
80 1 3
getOverprint()
S
82 1 3
getAlpha()
S
82 1 3
setDefaultTableColumns()
S
80 1 3
setCellHeightRatio()
S
81 1 3
getCellHeightRatio()
S
82 1 3
setViewerPreferences()
S
81 1 3
TranslateY()
S
80 1 3
MirrorL()
S
74 1 4
SetAbsXY()
S
77 1 4
getDocModificationTimestamp()
S
82 1 3
setExtraXMP()
S
81 1 3
_putheader()
S
74 1 4
_endpage()
S
76 1 4
_newobj()
S
77 1 4
_dounderline()
S
75 1 4
_dounderlinew()
S
72 1 4
_dolinethrough()
S
75 1 4
_dolinethroughw()
S
72 1 4
_dooverline()
S
75 1 4
_dooverlinew()
S
72 1 4
getDocCreationTimestamp()
S
82 1 3
setHeaderFont()
S
81 1 3
MirrorP()
S
78 1 3
getHeaderFont()
S
82 1 3
setFooterFont()
S
81 1 3
getFooterFont()
S
82 1 3
pixelsToUnits()
S
79 1 3
unhtmlentities()
S
78 1 3
_UEvalue()
S
73 1 4
_OEvalue()
S
73 1 4
ScaleX()
S
79 1 3
ScaleY()
S
79 1 3
MirrorH()
S
79 1 3
MirrorV()
S
78 1 3
segSVGContentHandler()
S
81 1 3