RednaoWooCommercePDFInvoice C

Total Complexity 123
Dependencies 17
Dependents 0
Total lines 700
Lines of code 516
Logical lines of code 279
Comment lines 19
Methods 35
Properties 16

Methods 35

Method Rating Maintainability Complexity Lines of code
AttachPDFEmail()
C
32 29 90
LoadMetaScriptWhenNeeded()
B
35 14 79
RemoveScripts()
A
52 10 23
RemoveStyles()
A
52 9 23
OrderStatusChanged()
S
49 7 30
ViewPDFAction()
S
49 6 29
UpdateDBIfNeeded()
S
46 4 51
recursiveRemove()
S
62 5 10
GetSubFolderPath()
S
60 3 13
__construct()
S
51 2 27
WooCommerceThankYou()
S
67 3 8
CreateDefaultInvoiceIfNeeded()
S
59 2 14
HookCreateMenu()
S
61 2 11
DefineHooks()
S
54 1 19
AfterCalculatingTotals()
S
69 2 7
RemoveOtherScripts()
S
77 2 5
GetConfig()
S
73 2 5
CheckIfPDFAdmin()
S
71 2 6
AddOrderMetaBox()
S
63 2 10
PDFViewer()
S
80 1 3
IsPR()
S
79 1 3
CreateTemplateRedirect()
S
75 1 4
Settings()
S
80 1 3
ErrorResolver()
S
80 1 3
SupportMenu()
S
80 1 3
ReviewNotice()
S
73 1 5
CustomFields()
S
80 1 3
CreateMenu()
S
80 1 3
ManageInvoices()
S
80 1 3
GetInvoiceListThatShouldBeAttached()
S
91 1 2
DisplayMetaBox()
S
77 1 4
CreateFolder()
S
72 1 5
CheckoutOrderProcessed()
S
80 1 3
AddDeactivationDialog()
S
75 1 4
AdminStyles()
S
71 1 5