TCPDF D

Total Complexity 4,840
Dependencies 10
Dependents 1
Total lines 24,614
Lines of code 16,817
Logical lines of code 12,128
Comment lines 7,078
Methods 419
Properties 245

Methods 419

Method Rating Maintainability Complexity Lines of code
writeHTML()
D
0
500 1,392
startSVGElementHandler()
D
0
231 616
openHTMLTagHandler()
D
0
223 676
getHtmlDomArray()
D
0
218 693
_putannotsobjs()
D
0
221 602
closeHTMLTagHandler()
D
0
161 503
getCellCode()
D
3
121 375
Write()
D
7
106 376
Image()
D
7
103 324
ImageEps()
D
10
96 283
SVGPath()
D
12
77 342
AddFont()
D
15
84 223
write1DBarcode()
D
14
78 266
MultiCell()
D
13
74 314
setSVGStyles()
D
15
66 255
ImageSVG()
D
15
61 276
write2DBarcode()
D
21
58 181
deletePage()
D
23
56 173
movePage()
D
24
55 155
_putcatalog()
D
23
50 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
_putfonts()
D
28
34 124
_putimages()
D
29 35 108
_putpages()
D
26
31 142
_putxobjects()
C
32 31 90
Output()
C
27
26 156
_putshaders()
C
26
23 166
adjustCellPadding()
C
35 28 85
_putbookmarks()
C
31 27 97
printTemplate()
C
31 26 111
Gradient()
C
33 26 92
_putviewerpreferences()
C
37 27 67
colorRegistrationBar()
C
31 23 121
Annotation()
C
35 26 74
endSVGElementHandler()
C
34 25 87
addHTMLTOC()
C
31 23 107
setProtection()
C
34 23 87
checkPageRegions()
C
37 24 70
getNumLines()
B
37 22 68
_outellipticalarc()
B
34 18 96
_putsignature()
B
38 20 65
Rect()
B
41 21 48
fitBlock()
B
41 20 55
setPageOrientation()
B
37 18 75
Polygon()
B
39 18 67
_destroy()
B
43 19 44
setColor()
B
38 17 70
getHTMLUnitToUnits()
B
40 17 66
selectColumn()
B
39 17 63
hyphenateWord()
B
40 17 56
setLineStyle()
B
41 17 54
ImagePngAlpha()
B
37 16 68
CoonsPatchMesh()
B
37 15 72
_putresourcedict()
B
41 16 54
Header()
B
38 15 63
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
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
__construct()
A
31 6 117
cropMark()
A
41 10 56
ComboBox()
A
39 9 64
ListBox()
A
39 9 63
getHTMLFontUnits()
A
45 10 47
getCSSBorderDashStyle()
A
52 11 28
CheckBox()
A
41 9 55
setTextRenderingMode()
A
48 10 38
checkPageBreak()
A
49 10 32
replaceMissingChars()
A
50 10 28
_beginpage()
A
48 9 34
getCSSBorderStyle()
A
44 8 47
_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
getCSSMargin()
S
45 6 45
getCSSPadding()
S
46 6 45
setPageUnit()
S
51 7 30
setColorArray()
S
58 8 14
GetArrStringWidth()
S
51 7 25
setX()
S
55 7 22
Polycurve()
S
53 7 21
setAlpha()
S
52 7 21
Skew()
S
54 7 21
setY()
S
55 7 21
addExtGState()
S
55 7 19
_putocg()
S
55 7 18
_out()
S
55 7 17
setOverprint()
S
56 7 17
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
_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
_addfield()
S
51 5 23
Scale()
S
53 5 23
PieSectorXY()
S
53 5 22
Transform()
S
55 5 16
setFont()
S
57 5 16
setSpacesRE()
S
58 5 15
setDisplayMode()
S
63 6 9
Curve()
S
57 5 15
getRawCharWidth()
S
59 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
rollbackTransaction()
S
56 4 19
getSignatureAppearanceArray()
S
55 4 19
addHTMLVertSpace()
S
57 4 19
setTimeStamp()
S
56 4 18
RegularPolygon()
S
56 4 16
GetCharWidth()
S
63 5 10
isCharDefined()
S
58 4 15
StopTransform()
S
59 4 15
setPDFVersion()
S
65 5 9
setPageBuffer()
S
62 4 12
AcceptPageBreak()
S
62 4 12
setMargins()
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
setCompression()
S
65 4 10
setExtGState()
S
69 4 6
getFontsList()
S
63 4 10
startLayer()
S
58 3 14
setLIsymbol()
S
59 3 13
_putdests()
S
59 3 13
StartTransform()
S
60 3 13
Clip()
S
60 3 12
getCharBBox()
S
62 3 11
getGDgamma()
S
61 3 11
Line()
S
63 3 11
_putAPXObject()
S
52 2 24
registrationMark()
S
56 2 17
setFontSubsetting()
S
69 3 7
setBooklet()
S
66 3 9
setJPEGQuality()
S
70 3 6
endLayer()
S
66 3 9
setLanguageArray()
S
66 3 8
fileExists()
S
70 3 6
getFontAscent()
S
62 3 10
_datestring()
S
69 3 6
setPageBoxTypes()
S
67 3 8
getCellHeight()
S
67 3 7
setContentMark()
S
64 3 10
setTopMargin()
S
70 3 6
_dochecks()
S
66 3 8
getFontDescent()
S
62 3 10
setRightMargin()
S
70 3 6
Error()
S
66 3 8
setLeftMargin()
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
getMargins()
S
58 1 16
_putresources()
S
60 1 16
_datastring()
S
68 2 7
getImageBuffer()
S
71 2 6
_getxobjectdict()
S
67 2 7
setDocModificationTimestamp()
S
71 2 6
removeTagNamespace()
S
67 2 7
getAllInternalPageNumberAliases()
S
66 2 8
_objectkey()
S
63 2 9
isRTLTextDir()
S
79 2 3
_textstring()
S
70 2 6
getPDFData()
S
71 2 6
AddSpotColor()
S
68 2 6
sortBookmarks()
S
65 2 9
_getrawstream()
S
70 2 6
setCellPadding()
S
67 2 8
addJavascriptObject()
S
66 2 8
commitTransaction()
S
69 2 7
getAliasNbPages()
S
71 2 6
startTransaction()
S
67 2 8
swapMargins()
S
65 2 10
setAutoPageBreak()
S
72 2 5
GetX()
S
70 2 7
getRemainingWidth()
S
66 2 8
replaceChar()
S
69 2 7
startPageGroup()
S
70 2 6
setSRGBmode()
S
79 2 3
getCachedFileContents()
S
70 2 6
setDocInfoUnicode()
S
79 2 3
getFontBuffer()
S
71 2 6
setFontSubBuffer()
S
70 2 6
setFontBuffer()
S
65 2 9
_fixAES256Password()
S
65 2 8
getBorderStartPosition()
S
65 2 8
getAliasNumPage()
S
71 2 6
getBreakMargin()
S
71 2 6
GetNumChars()
S
70 2 6
getSpaceString()
S
69 2 7
removePageRegion()
S
73 2 5
setDocCreationTimestamp()
S
71 2 6
setPageRegions()
S
71 2 6
setPrintHeader()
S
79 2 3
setPrintFooter()
S
79 2 3
getPageBuffer()
S
71 2 6
unserializeTCPDFtagParameters()
S
66 2 8
setImageBuffer()
S
65 2 9
endTemplate()
S
67 2 8
getPageDimensions()
S
71 2 6
getPageWidth()
S
71 2 6
isUnicodeFont()
S
77 2 3
setImageSubBuffer()
S
70 2 6
getPageNumGroupAlias()
S
71 2 6
setLineWidth()
S
68 2 7
getPageGroupAlias()
S
71 2 6
getPageHeight()
S
71 2 6
inPageBody()
S
78 2 3
_outCurveY()
S
70 2 5
_outCurveV()
S
70 2 5
_outCurve()
S
70 2 5
applyTSA()
S
73 2 6
_outRect()
S
70 2 5
_outLine()
S
71 2 5
_outPoint()
S
71 2 5
_getobj()
S
65 2 9
setHeaderTemplateAutoreset()
S
79 2 3
convertSVGtMatrix()
S
59 1 13
setListIndentWidth()
S
79 1 3
setHtmlLinksStyle()
S
77 1 4
setOpenCell()
S
81 1 3
setCreator()
S
81 1 3
setHeaderFont()
S
81 1 3
setHtmlVSpace()
S
81 1 3
setAllowLocalFiles()
S
80 1 3
Open()
S
81 1 3
setAuthor()
S
81 1 3
lastPage()
S
80 1 3
getPage()
S
82 1 3
getNumPages()
S
82 1 3
addTOCPage()
S
79 1 3
writeHTMLCell()
S
75 1 3
serializeTCPDFtagParameters()
S
75 1 4
getHashForTCPDFtagParams()
S
78 1 3
endTOCPage()
S
81 1 3
setPageMark()
S
73 1 5
setHeaderData()
S
67 1 8
setFooterData()
S
77 1 4
setKeywords()
S
81 1 3
getCellPaddings()
S
82 1 3
setSubject()
S
81 1 3
getPageRegions()
S
82 1 3
stringTrim()
S
73 1 5
getImageScale()
S
82 1 3
setFontStretching()
S
81 1 3
getFontStretching()
S
82 1 3
setFontSpacing()
S
81 1 3
getFontSpacing()
S
82 1 3
setImageScale()
S
81 1 3
stringLeftTrim()
S
77 1 3
getLastH()
S
82 1 3
resetLastH()
S
80 1 3
SVGTransform()
S
80 1 3
setLastH()
S
81 1 3
getRTL()
S
82 1 3
segSVGContentHandler()
S
81 1 3
stringRightTrim()
S
77 1 3
getFontSubsetting()
S
82 1 3
_outSaveGraphicsState()
S
81 1 3
getCellMargins()
S
82 1 3
_outRestoreGraphicsState()
S
81 1 3
setBuffer()
S
76 1 4
replaceBuffer()
S
76 1 4
getBuffer()
S
82 1 3
setTitle()
S
81 1 3
getAutoPageBreak()
S
82 1 3
setHeaderMargin()
S
81 1 3
setRasterizeVectorImages()
S
81 1 3
resetColumns()
S
74 1 5
setColumnsArray()
S
69 1 7
getColumn()
S
82 1 3
getNumberOfColumns()
S
82 1 3
getTextShadow()
S
82 1 3
getScaleFactor()
S
82 1 3
getHeaderData()
S
64 1 10
getAllSpotColors()
S
82 1 3
getHeaderMargin()
S
82 1 3
Circle()
S
76 1 3
_dounderlinew()
S
72 1 4
_dounderline()
S
75 1 4
GetLineWidth()
S
82 1 3
_newobj()
S
77 1 4
_endpage()
S
76 1 4
_putheader()
S
74 1 4
setExtraXMPRDF()
S
81 1 3
setExtraXMP()
S
81 1 3
PolyLine()
S
78 1 3
SkewX()
S
79 1 3
RoundedRect()
S
77 1 3
getDestination()
S
82 1 3
setAbsXY()
S
77 1 4
setBookmark()
S
77 1 3
setAbsY()
S
80 1 3
setAbsX()
S
80 1 3
IncludeJS()
S
81 1 3
setXY()
S
75 1 4
GetY()
S
82 1 3
SkewY()
S
79 1 3
_dolinethrough()
S
75 1 4
getFormDefaultProp()
S
82 1 3
_dooverline()
S
75 1 4
setFooterFont()
S
81 1 3
getFooterFont()
S
82 1 3
pixelsToUnits()
S
79 1 3
unhtmlentities()
S
78 1 3
getDocModificationTimestamp()
S
82 1 3
getDocCreationTimestamp()
S
82 1 3
_UEvalue()
S
73 1 4
_OEvalue()
S
73 1 4
_dooverlinew()
S
72 1 4
ScaleX()
S
79 1 3
Translate()
S
64 1 10
ScaleY()
S
79 1 3
__destruct()
S
81 1 3
_dolinethroughw()
S
72 1 4
MirrorH()
S
79 1 3
MirrorV()
S
78 1 3
MirrorP()
S
78 1 3
MirrorL()
S
74 1 4
TranslateX()
S
80 1 3
TranslateY()
S
80 1 3
setFormDefaultProp()
S
81 1 3
GetAbsX()
S
82 1 3
setFooterMargin()
S
81 1 3
getImageRBY()
S
82 1 3
setViewerPreferences()
S
81 1 3
setDrawSpotColor()
S
79 1 3
getHeaderFont()
S
82 1 3
LinearGradient()
S
72 1 4
RadialGradient()
S
72 1 4
PageNo()
S
82 1 3
resetHeaderTemplate()
S
81 1 3
PieSector()
S
77 1 3
getImageRBX()
S
82 1 3
getCellHeightRatio()
S
82 1 3
setBarcode()
S
81 1 3
getBarcode()
S
82 1 3
getOriginalMargins()
S
69 1 7
getFontSize()
S
82 1 3
getFontSizePt()
S
82 1 3
getFontFamily()
S
82 1 3
getFontStyle()
S
82 1 3
fixHTMLCode()
S
78 1 3
getFooterMargin()
S
82 1 3
setFillSpotColor()
S
79 1 3
setCellHeightRatio()
S
81 1 3
Text()
S
63 1 9
getAbsFontMeasure()
S
79 1 3
Link()
S
77 1 3
AddLink()
S
71 1 5
setSignatureAppearance()
S
77 1 3
addEmptySignatureAppearance()
S
73 1 4
setDefaultMonospacedFont()
S
81 1 3
setStartingPageNumber()
S
78 1 3
getGroupPageNo()
S
80 1 3
getGroupPageNoFormatted()
S
80 1 3
PageNoFormatted()
S
80 1 3
GetStringWidth()
S
76 1 3
setDefaultTableColumns()
S
80 1 3
setTextColor()
S
77 1 3
setFillColor()
S
77 1 3
setDrawColor()
S
77 1 3
setTextColorArray()
S
79 1 3
setFillColorArray()
S
79 1 3
getOverprint()
S
82 1 3
setDrawColorArray()
S
79 1 3
getAlpha()
S
82 1 3
setTextSpotColor()
S
79 1 3
ScaleXY()
S
79 1 3