TCPDF D

Total Complexity 4,794
Dependencies 19
Dependents 1
Total lines 24,438
Lines of code 16,719
Logical lines of code 12,074
Comment lines 7,024
Methods 416
Properties 244

Methods 416

Method Rating Maintainability Complexity Lines of code
writeHTML()
D
0
502 1,391
startSVGElementHandler()
D
0
229 616
getHtmlDomArray()
D
0
215 681
_putannotsobjs()
D
0
219 597
openHTMLTagHandler()
D
0
214 650
closeHTMLTagHandler()
D
0
160 503
getCellCode()
D
4
120 374
Write()
D
8
101 377
Image()
D
8
101 327
ImageEps()
D
10
97 285
SVGPath()
D
11
78 343
AddFont()
D
15
83 207
write1DBarcode()
D
14
79 266
MultiCell()
D
13
74 314
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
Annotation()
C
35 26 74
endSVGElementHandler()
C
34 25 87
Gradient()
C
34 24 92
addHTMLTOC()
C
31 23 107
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
_destroy()
B
42 19 48
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
Bookmark()
A
45 14 41
RoundedRectXY()
A
42 13 55
setTextShadow()
A
46 14 35
__construct()
A
30 8 122
SetFontSize()
A
48 14 30
hyphenateText()
A
43 13 44
_enddoc()
A
38 11 72
_putjavascript()
A
45 13 38
_putcidfont0()
A
39 11 64
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
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
_putXMP()
A
31 2 137
addHtmlLink()
A
48 9 31
Cell()
A
44 8 44
Ln()
A
52 9 24
_putEmbeddedFiles()
A
46 8 36
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
getCSSPadding()
S
46 6 45
getCSSMargin()
S
45 6 45
setColorArray()
S
58 8 14
getCSSBorderStyle()
S
46 6 42
GetArrStringWidth()
S
51 7 25
SetX()
S
55 7 22
Skew()
S
53 7 21
SetY()
S
55 7 21
Polycurve()
S
53 7 21
_putocg()
S
55 7 18
setOverprint()
S
56 7 17
_out()
S
55 7 17
setGraphicVars()
S
40 4 58
setFooter()
S
45 5 43
setVisibility()
S
53 6 25
setEqualColumns()
S
52 6 23
_Uvalue()
S
51 6 23
setAlpha()
S
52 6 21
_encrypt_data()
S
55 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
Curve()
S
57 5 15
getRawCharWidth()
S
59 5 15
setSpacesRE()
S
58 5 15
SetDisplayMode()
S
63 6 9
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
isCharDefined()
S
58 4 15
StopTransform()
S
59 4 15
GetCharWidth()
S
63 5 10
rollbackTransaction()
S
61 4 13
AcceptPageBreak()
S
62 4 12
setPageBuffer()
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
SetCompression()
S
65 4 10
getFontsList()
S
63 4 10
setRTL()
S
65 4 9
startLayer()
S
58 3 14
setLIsymbol()
S
59 3 13
StartTransform()
S
60 3 13
_putdests()
S
59 3 13
Clip()
S
60 3 12
SetMargins()
S
62 3 12
Line()
S
63 3 11
getGDgamma()
S
61 3 11
getCharBBox()
S
62 3 11
_putAPXObject()
S
52 2 24
registrationMark()
S
56 2 17
setPDFVersion()
S
69 3 7
SetBooklet()
S
66 3 9
setJPEGQuality()
S
70 3 6
setLanguageArray()
S
66 3 8
getFontDescent()
S
62 3 10
SetTopMargin()
S
70 3 6
setContentMark()
S
64 3 10
getFontAscent()
S
62 3 10
setExtGState()
S
70 3 6
setFontSubsetting()
S
69 3 7
Error()
S
66 3 8
_datestring()
S
69 3 6
endLayer()
S
66 3 9
_dochecks()
S
66 3 8
SetRightMargin()
S
70 3 6
setPageBoxTypes()
S
67 3 8
SetLeftMargin()
S
70 3 6
getInternalPageNumberAliases()
S
59 2 14
_putspotcolors()
S
59 2 13
getStringHeight()
S
60 2 13
setUserRights()
S
61 2 12
registrationMarkCMYK()
S
54 1 20
_putresources()
S
60 1 16
getMargins()
S
58 1 16
setSRGBmode()
S
79 2 3
GetX()
S
70 2 7
setFontBuffer()
S
65 2 9
getImageBuffer()
S
71 2 6
removeTagNamespace()
S
67 2 7
setImageSubBuffer()
S
70 2 6
setImageBuffer()
S
65 2 9
getPageBuffer()
S
71 2 6
getPageDimensions()
S
71 2 6
getPageWidth()
S
71 2 6
isUnicodeFont()
S
77 2 3
getPageHeight()
S
71 2 6
addJavascriptObject()
S
66 2 8
_fixAES256Password()
S
65 2 8
sortBookmarks()
S
65 2 9
getAllInternalPageNumberAliases()
S
66 2 8
endTemplate()
S
67 2 8
applyTSA()
S
73 2 6
startPageGroup()
S
70 2 6
getCellHeight()
S
67 2 7
setFontSubBuffer()
S
70 2 6
AddSpotColor()
S
68 2 6
commitTransaction()
S
71 2 6
startTransaction()
S
67 2 8
GetNumChars()
S
70 2 6
inPageBody()
S
78 2 3
setHeaderTemplateAutoreset()
S
79 2 3
getFontBuffer()
S
71 2 6
setPrintFooter()
S
79 2 3
getAliasNbPages()
S
71 2 6
replaceChar()
S
69 2 7
setPrintHeader()
S
79 2 3
getRemainingWidth()
S
66 2 8
isRTLTextDir()
S
79 2 3
getPageNumGroupAlias()
S
71 2 6
getPageGroupAlias()
S
71 2 6
getAliasNumPage()
S
71 2 6
_getxobjectdict()
S
67 2 7
getBreakMargin()
S
71 2 6
getPDFData()
S
71 2 6
_getrawstream()
S
70 2 6
_outLine()
S
71 2 5
_outPoint()
S
71 2 5
SetCellPadding()
S
67 2 8
SetLineWidth()
S
68 2 7
setDocCreationTimestamp()
S
71 2 6
setDocModificationTimestamp()
S
71 2 6
_textstring()
S
70 2 6
swapMargins()
S
65 2 10
_outCurve()
S
70 2 5
getSpaceString()
S
69 2 7
unserializeTCPDFtagParameters()
S
66 2 8
SetAutoPageBreak()
S
72 2 5
getBorderStartPosition()
S
65 2 8
_objectkey()
S
63 2 9
removePageRegion()
S
73 2 5
SetDocInfoUnicode()
S
79 2 3
_outRect()
S
70 2 5
_datastring()
S
68 2 7
_outCurveV()
S
70 2 5
_getobj()
S
65 2 9
_outCurveY()
S
70 2 5
setPageRegions()
S
71 2 6
convertSVGtMatrix()
S
59 1 13
writeHTMLCell()
S
75 1 3
setRasterizeVectorImages()
S
81 1 3
getHashForTCPDFtagParams()
S
78 1 3
serializeTCPDFtagParameters()
S
75 1 4
getColumn()
S
82 1 3
getTextShadow()
S
82 1 3
getFontStyle()
S
82 1 3
replaceBuffer()
S
76 1 4
setColumnsArray()
S
69 1 7
getFontSubsetting()
S
82 1 3
PieSector()
S
77 1 3
fixHTMLCode()
S
78 1 3
setFontSpacing()
S
81 1 3
setFontStretching()
S
81 1 3
getNumberOfColumns()
S
82 1 3
resetColumns()
S
74 1 5
setBuffer()
S
76 1 4
stringLeftTrim()
S
77 1 3
getFontSpacing()
S
82 1 3
setOpenCell()
S
81 1 3
SVGTransform()
S
80 1 3
getFontSize()
S
82 1 3
getFontSizePt()
S
82 1 3
getOriginalMargins()
S
69 1 7
setHtmlLinksStyle()
S
77 1 4
getPageRegions()
S
82 1 3
stringTrim()
S
73 1 5
getFontStretching()
S
82 1 3
setBarcode()
S
81 1 3
stringRightTrim()
S
77 1 3
_outSaveGraphicsState()
S
81 1 3
setListIndentWidth()
S
79 1 3
setHtmlVSpace()
S
81 1 3
getFontFamily()
S
82 1 3
_outRestoreGraphicsState()
S
81 1 3
getBarcode()
S
82 1 3
getBuffer()
S
82 1 3
ScaleXY()
S
79 1 3
RadialGradient()
S
72 1 4
SetTextColorArray()
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
SetFillColorArray()
S
79 1 3
SetDrawColor()
S
77 1 3
getHeaderMargin()
S
82 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
SetXY()
S
75 1 4
setFooterMargin()
S
81 1 3
setHeaderMargin()
S
81 1 3
SetAbsY()
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
SetAbsX()
S
80 1 3
SetAbsXY()
S
77 1 4
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
setExtraXMP()
S
81 1 3
getDocModificationTimestamp()
S
82 1 3
setExtraXMPRDF()
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
__destruct()
S
81 1 3
MirrorH()
S
79 1 3
MirrorV()
S
78 1 3
segSVGContentHandler()
S
81 1 3