Total Complexity | 410 |
Dependencies | 8 |
Dependents | 0 |
Total lines | 1,091 |
Lines of code | 1,032 |
Logical lines of code | 797 |
Comment lines | 23 |
Methods | 30 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
CreateProductList() | 100 | 233 | ||
SetAdditionalData() | 35 | 60 | 56 | |
GetOptions() | 31 | 41 | 81 | |
CreateOrder() | 33 | 120 | ||
GetCustomFields() | 42 | 22 | 46 | |
ModifyOrder() | 40 | 17 | 54 | |
DisplayCustomOrderSidebarMetabox() | 51 | 16 | 19 | |
GetCategoryPaths() | 47 | 14 | 32 | |
Run() | 41 | 13 | 44 | |
GetOrder() | 47 | 12 | 31 | |
RejectOrder() | 49 | 8 | 27 | |
ValidateAPIKey() | 52 | 8 | 21 | |
Connect() | 61 | 7 | 12 | |
ShowNotices() | 63 | 7 | 8 | |
GetProducts() | 51 | 5 | 25 | |
AJAXHandler() | 58 | 5 | 15 | |
GetPostMeta() | 62 | 6 | 10 | |
__construct() | 58 | 5 | 13 | |
StoreOrderDocument() | 53 | 4 | 22 | |
DownloadOrderDocument() | 56 | 4 | 18 | |
ResolveAttributeValue() | 62 | 5 | 10 | |
RegisterAPIRoutes() | 47 | 1 | 43 | |
GetSettings() | 45 | 1 | 38 | |
APIError() | 68 | 3 | 6 | |
APISuccess() | 68 | 3 | 6 | |
AddCustomOrderSidebarMetabox() | 63 | 3 | 10 | |
prevent_customer_emails_from_being_sent() | 71 | 3 | 5 | |
GetSettingsPage() | 58 | 1 | 19 | |
ProtectCustomMetaFields() | 77 | 2 | 3 | |
plugin_add_settings_link() | 71 | 1 | 5 |