Cpdf D

Total Complexity 801
Dependencies 9
Dependents 1
Total lines 5,620
Lines of code 3,136
Logical lines of code 2,120
Comment lines 1,492
Methods 114
Properties 55

Methods 114

Method Rating Maintainability Complexity Lines of code
selectFont()
D
16
63 240
openFont()
D
20
66 173
addPngFromBuf()
D
22
50 184
o_pages()
D
30 38 109
o_viewerPreferences()
D
34 33 80
o_font()
C
32 27 107
o_image()
C
31 22 107
o_fontDescriptor()
B
41 24 47
o_page()
B
36 18 80
getTextWidth()
B
40 18 59
addImagePngAlpha()
B
32 14 109
o_fontDescendentCID()
B
39 17 59
addText()
B
36 15 81
o_info()
B
43 17 47
o_catalog()
B
42 16 50
o_contents()
A
43 14 44
ellipse()
A
39 12 69
utf8toCodePointsArray()
A
43 13 48
addObject()
A
47 13 36
transaction()
A
47 12 38
o_fontGIDtoCIDMap()
A
46 12 36
o_destination()
A
49 11 29
o_action()
A
46 10 39
o_encryption()
A
39 8 62
o_annotation()
A
44 9 45
addPngFromFile()
A
44 9 41
output()
A
42 8 48
newPage()
A
49 9 30
addImagePng()
A
49 9 29
o_procset()
A
49 9 29
o_fontEncoding()
A
48 8 31
addJpegFromFile()
A
49 8 31
o_outlines()
S
51 7 26
setEncryption()
S
54 7 20
o_extGState()
S
43 5 49
o_toUnicode()
S
46 5 46
stream()
S
50 6 25
filterText()
S
56 6 16
setColor()
S
58 6 15
setStrokeColor()
S
58 6 15
o_cidSystemInfo()
S
51 5 27
ARC4_init()
S
54 5 21
setLineStyle()
S
54 5 19
utf8toUtf16BE()
S
56 5 17
setLineTransparency()
S
50 4 31
setFillTransparency()
S
50 4 31
setFontFamily()
S
51 4 31
getFontHeight()
S
58 5 15
o_javascript()
S
53 4 22
o_embedjs()
S
54 4 21
addJpegImage_common()
S
49 3 32
registerText()
S
62 4 11
getFontXHeight()
S
61 3 12
__construct()
S
61 3 11
polygon()
S
62 3 11
ARC4()
S
57 2 17
saveState()
S
58 2 16
encryptInit()
S
58 2 15
setPreferences()
S
65 3 9
addInfo()
S
65 3 9
restoreState()
S
60 2 13
newDocument()
S
57 1 19
reopenObject()
S
66 2 8
setGraphicsState()
S
64 2 9
setFillRule()
S
71 2 6
serializeObject()
S
71 2 6
closeObject()
S
69 2 7
stopObject()
S
73 2 5
getFontDescender()
S
68 2 7
getBytes()
S
66 2 8
md5_16()
S
65 2 8
line()
S
70 2 6
concatMatches()
S
69 2 7
fillStroke()
S
78 2 3
rotate()
S
59 1 15
fill()
S
78 2 3
skew()
S
60 1 14
clippingRectangleRounded()
S
58 1 14
scale()
S
62 1 12
translate()
S
65 1 11
addInternalLink()
S
71 1 5
stroke()
S
82 1 3
rect()
S
78 1 3
image_iscached()
S
80 1 3
rectangle()
S
78 1 3
checkAllHere()
S
100 1 2
transform()
S
80 1 3
addSvgFromFile()
S
62 1 10
addLink()
S
71 1 5
curveTo()
S
77 1 3
openHere()
S
63 1 10
addJavascript()
S
82 1 3
addDestination()
S
63 1 10
quadTo()
S
78 1 3
addMessage()
S
80 1 3
filledRectangle()
S
78 1 3
save()
S
74 1 5
restoreSerializedObject()
S
71 1 6
closePath()
S
82 1 3
lineTo()
S
79 1 3
filledEllipse()
S
77 1 3
partEllipse()
S
77 1 3
curve()
S
72 1 5
getTextPosition()
S
64 1 8
toUpper()
S
80 1 3
addContent()
S
79 1 3
setCurrentFont()
S
76 1 4
getFirstPageId()
S
83 1 3
clippingEnd()
S
83 1 3
openObject()
S
65 1 9
clippingRectangle()
S
75 1 4
restore()
S
74 1 5
moveTo()
S
79 1 3
endPath()
S
82 1 3