RednaoWooCommercePDFInvoice C

Total Complexity 124
Dependencies 17
Dependents 0
Total lines 709
Lines of code 522
Logical lines of code 283
Comment lines 19
Methods 36
Properties 16

Methods 36

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
60 2 12
DefineHooks()
S
54 1 19
CheckIfPDFAdmin()
S
71 2 6
RemoveOtherScripts()
S
77 2 5
AddOrderMetaBox()
S
63 2 10
AfterCalculatingTotals()
S
69 2 7
GetConfig()
S
73 2 5
SupportMenu()
S
80 1 3
IsPR()
S
79 1 3
ReviewNotice()
S
73 1 5
CheckoutOrderProcessed()
S
80 1 3
CreateTemplateRedirect()
S
75 1 4
Settings()
S
80 1 3
ErrorResolver()
S
80 1 3
PDFViewer()
S
80 1 3
AdminStyles()
S
71 1 5
CustomFields()
S
80 1 3
CreateMenu()
S
80 1 3
ManageInvoices()
S
80 1 3
OurWCPlugins()
S
73 1 5
GetInvoiceListThatShouldBeAttached()
S
91 1 2
AddDeactivationDialog()
S
75 1 4
CreateFolder()
S
72 1 5
DisplayMetaBox()
S
77 1 4