Code Analysis: Serial Codes Generator and Validator with WooCommerce Support 2.3.15

Function Rating Maintainability Complexity Lines of code
sngmbhSerialcodesValidator_AdminSettings::transformMetaObjectToExportColumn()
D
35 43 57
sngmbhSerialcodesValidator_AdminSettings::executeJSON()
D
31 35 107
sngmbhSerialcodesValidator_AdminSettings::getCodes()
C
32 30 90
vollstart_Ticket::outputTicketInfo()
C
30 27 110
vollstart_Ticket::outputTicketScanner()
C
29
24 137
sngmbhSerialcodesValidator_Frontend::displayMessageValue()
C
37 27 66
sngmbhSerialcodesValidator_Core::encodeMetaValuesAndFillObject()
C
36 26 75
sngmbh_woocommerce_order_item_meta_start_always()
C
33 24 93
sngmbhSerialcodesValidator_Frontend::checkCode()
C
39 26 53
sngmbhSerialcodesValidator_AdminSettings::generateCode()
B
39 22 56
sngmbhSerialcodesValidator_Core::triggerWebhooks()
B
40 20 63
sngmbhSerialcodesValidator_AdminSettings::addCodeFromListForOrder()
B
36 19 71
sngmbh_woo_save_fields()
B
40 19 63
sngmbh_wpo_wcpdf_show_product_add_serial_code()
B
39 16 59
sngmbhSerialcodesValidator_Core::replaceURLParameters()
A
46 16 34
sngmbhSerialcodesValidator_AdminSettings::exportTableCodes()
A
45 15 33
sngmbhSerialcodesValidator_Frontend::markAsUsed()
A
45 14 37
sngmbhSerialcodesValidator_Options::initOptions()
A
29 9 111
sngmbhSerialcodesValidator_AdminSettings::removeWoocommerceTicketForCode()
A
44 13 39
sngmbhSerialcodesValidator_Frontend::setStatusMessages()
A
47 13 36
vollstart_PDF::render()
A
42 12 49
sngmbh_woo_product_panels()
A
32 7 121
sngmbhSerialcodesValidator_AdminSettings::removeWoocommerceOrderInfoFromCode()
A
46 12 35
sngmbhSerialcodesValidator_AdminSettings::editCode()
A
52 13 19
sngmbhSerialcodesValidator_AdminSettings::setWoocommerceTicketForCode()
A
47 12 30
sngmbh_DB::installiereTabellen()
A
49 11 28
sngmbh_add_serialcode_to_order_forItem()
A
46 10 38
sngmbhSerialcodesValidator_AdminSettings::_setMetaDataForList()
A
57 11 16
sngmbhSerialcodesValidator::replacingShortcodeMyCode()
A
49 10 31
sngmbhSerialcodesValidator::replaceShortcode()
A
43 9 45
sngmbhSerialcodesValidator_AdminSettings::removeWoocommerceRstrPurchaseInfoFromCode()
A
48 10 29
sngmbhSerialcodesValidator_AdminSettings::addCodes()
A
51 10 23
sngmbhSerialcodesValidator_AdminSettings::performJobsAfterDBUpgraded()
A
52 10 22
sngmbhSerialcodesValidator::options_page()
A
38 6 78
vollstart_Ticket::output()
A
45 8 45
sngmbhSerialcodesValidator_AdminSettings::redeemWoocommerceTicketForCode()
A
50 9 25
sngmbh_filter_wc_order_item_display_meta_key()
A
52 9 24
sngmbhSerialcodesValidator_WC::check_mandatory_coupon_for_specific_items()
A
53 9 22
sngmbhSerialcodesValidator_AdminSettings::getOptions()
A
46 8 35
SNGMBH::getRequestPara()
A
56 9 17
vollstart_Ticket::getCodeObj()
A
55 9 16
sngmbhSerialcodesValidator_WC::check_code_for_cartitem()
A
52 8 23
vollstart_Ticket::executeRequestScanner()
A
52 8 22
sngmbhSerialcodesValidator_AdminSettings::_addList()
A
53 8 18
sngmbhSerialcodesValidator_AdminSettings::_editList()
S
56 8 15
sngmbhSerialcodesValidator_Frontend::executeJSON()
S
51 7 26
sngmbhSerialcodesValidator::executeAdminSettings()
S
60 8 11
sngmbhSerialcodesValidator_Core::getTicketURLComponents()
S
51 7 24
sngmbhSerialcodesValidator_WC::executeWCFrontend()
S
52 7 23
sngmbhSerialcodesValidator_WC::woocommerce_checkout_create_order_line_item()
S
53 7 22
sngmbhSerialcodesValidator_Frontend::registerToCode()
S
52 7 21
sngmbhSerialcodesValidator_Frontend::addJSRedirectToObject()
S
53 7 20
sngmbhSerialcodesValidator_AdminSettings::addWoocommerceInfoToCode()
S
55 7 17
sngmbh_woocommerce_order_item_display_meta_value()
S
56 7 16
sngmbhSerialcodesValidator_Frontend::checkTicket()
S
59 7 14
sngmbhSerialcodesValidator_WC::wc_frontend_updateSerialCodeToCartItem()
S
50 6 28
sngmbhSerialcodesValidator::executeFrontend()
S
59 7 12
sngmbh_code_list_col_data()
S
55 6 18
vollstart_Ticket::isScanner()
S
56 6 18
sngmbhSerialcodesValidator_Frontend::countConfirmedStatus()
S
55 6 17
SNGMBH::issetRPara()
S
61 6 12
vollstart_Ticket::executeRequest()
S
54 5 21
sngmbhSerialcodesValidator_WC::__construct()
S
56 5 17
sngmbhSerialcodesValidator::getPremiumFunctions()
S
57 5 16
sngmbhSerialcodesValidator_AdminSettings::editUseridForUserRegistrationFromCode()
S
56 5 15
sngmbhSerialcodesValidator_AdminSettings::addCode()
S
63 6 8
sngmbhSerialcodesValidator_Frontend::getJSRedirect()
S
62 5 12
sngmbh_DB::reinigen_in()
S
61 5 12
sngmbhSerialcodesValidator_AdminSettings::removeRedeemWoocommerceTicketForCode()
S
52 4 22
sngmbh_DB::_db_query()
S
57 4 17
sngmbhSerialcodesValidator_AdminSettings::setWoocommerceTicketInfoForCode()
S
56 4 16
sngmbh_woocommerce_order_status_changed()
S
72 5 5
sngmbhSerialcodesValidator_Core::isCodeIsRegistered()
S
65 5 8
sngmbhSerialcodesValidator_Core::my_upgrade_function()
S
64 5 9
vollstart_Ticket::getParts()
S
59 4 15
sngmbhSerialcodesValidator_Core::retrieveCodeByCode()
S
57 4 15
sngmbh_add_serialcode_to_order()
S
59 4 14
sngmbhSerialcodesValidator_Core::retrieveCodeById()
S
58 4 14
sngmbhSerialcodesValidator_AdminSettings::getMetaOfCode()
S
59 4 13
sngmbhSerialcodesValidator_AdminSettings::editUseridForUsedInformationFromCode()
S
58 4 13
sngmbhSerialcodesValidator_Options::getOptionsObject()
S
58 4 13
sngmbhSerialcodesValidator_Options::getOption()
S
61 4 13
SNGMBH::PasswortGenerieren()
S
57 4 13
sngmbhSerialcodesValidator_WC::containsProductsWithRestrictions()
S
60 4 13
vollstart_Base::initPrem()
S
63 4 11
vollstart_Ticket::outputPDF()
S
50 3 26
sngmbhSerialcodesValidator_WC::woocommerce_after_cart_item_name()
S
53 3 23
sngmbhSerialcodesValidatorDB::_system_installiereTabellen()
S
46 1 53
vollstart_PDF::_loadLibs()
S
56 3 20
sngmbhSerialcodesValidator_WC::addJSFileAndHandler()
S
54 3 20
sngmbhSerialcodesValidator_AdminSettings::_basics_sendeDateiCSVvonDBdaten()
S
55 3 19
sngmbhSerialcodesValidator_AdminSettings::_addCode()
S
55 3 17
sngmbhSerialcodesValidator_AdminSettings::getExportColumnFields()
S
56 3 16
sngmbhSerialcodesValidator_Core::getRealIpAddr()
S
60 3 15
sngmbhSerialcodesValidator_Core::checkCodeExpired()
S
67 4 8
sngmbhSerialcodesValidator_Core::getTicketId()
S
67 4 7
sngmbh_DB::getPrefix()
S
67 4 7
sngmbhSerialcodesValidator_AdminSettings::removeCodes()
S
63 4 9
sngmbh_DB::getMAIN()
S
67 4 7
sngmbhSerialcodesValidator::getPluginVersions()
S
63 4 10
sngmbhSerialcodesValidator_Core::getMetaObject()
S
56 3 15
sngmbhSerialcodesValidator::__construct()
S
58 3 14
sngmbhSerialcodesValidator_Core::getMetaObjectKeyList()
S
59 3 14
sngmbhSerialcodesValidator_Core::getMetaObjectList()
S
60 3 14
sngmbhSerialcodesValidator_Core::_replaceTagsInTextWithMetaObjectsValues()
S
60 3 12
sngmbhSerialcodesValidator_WC::woocommerce_checkout_update_order_meta()
S
60 3 12
sngmbhSerialcodesValidator::getPremiumPluginFolder()
S
62 3 11
sngmbhSerialcodesValidator_Core::getMetaObjectAllowedReplacementTags()
S
55 2 20
sngmbhSerialcodesValidator_Frontend::executeJSONPremium()
S
71 3 5
sngmbhSerialcodesValidator_Frontend::checkIfOnlyLoggedInIsAffected()
S
67 3 7
sngmbhSerialcodesValidator_Frontend::addNewUsedEntryToMetaObject()
S
64 3 9
sngmbhSerialcodesValidator_AdminSettings::_getList()
S
66 3 7
sngmbhSerialcodesValidator_Options::getOptions()
S
63 3 10
sngmbhSerialcodesValidator_Options::getOptionsOnlyPublic()
S
64 3 10
sngmbhSerialcodesValidator_Options::_setOptionValuesByKey()
S
67 3 8
sngmbhSerialcodesValidator_Options::changeOption()
S
64 3 9
sngmbhSerialcodesValidator_Options::isOptionCheckboxActive()
S
71 3 5
sngmbhSerialcodesValidator_AdminSettings::getCode()
S
72 3 4
vollstart_Base::premiumCheck_isAllowedAddingList()
S
72 3 5
vollstart_Base::premiumCheck_isAllowedAddingCode()
S
72 3 5
vollstart_Ticket::getOrder()
S
67 3 7
vollstart_Ticket::getOrderItem()
S
64 3 10
sngmbhSerialcodesValidator::getBase()
S
65 3 9
sngmbh_woo_checkTicketDetailPage()
S
62 3 10
sngmbhSerialcodesValidator_AdminSettings::executeJSONPremium()
S
71 3 5
SNGMBH::getDB()
S
64 3 10
sngmbhSerialcodesValidator::getCore()
S
65 3 9
sngmbhSerialcodesValidator::getAdmin()
S
65 3 9
sngmbhSerialcodesValidator::getOptions()
S
63 3 10
sngmbhSerialcodesValidator::getFrontend()
S
65 3 9
sngmbh_DB::update()
S
68 3 6
sngmbhSerialcodesValidator_AdminSettings::removeUserRegistrationFromCode()
S
58 2 14
sngmbhSerialcodesValidator_WC::woocommerce_delete_order_item()
S
60 2 13
sngmbhSerialcodesValidator_AdminSettings::removeUsedInformationFromCode()
S
59 2 12
sngmbhSerialcodesValidator_AdminSettings::addRetrictionCodeToOrder()
S
61 2 12
vollstart_Ticket::getOptionsRawObject()
S
53 1 20
vollstart_Ticket::initFilterAndActions()
S
57 1 18
vollstart_PDF::initQR()
S
56 1 18
sngmbh_DB::insert()
S
69 2 6
sngmbhSerialcodesValidator_Core::_getCachedList()
S
72 2 5
sngmbh_DB::_db_getRecordCountOfTable()
S
68 2 6
sngmbhSerialcodesValidator_Options::_getOptionValue()
S
77 2 3
sngmbhSerialcodesValidator_AdminSettings::generateFirstCodeList()
S
68 2 7
sngmbhSerialcodesValidator_Core::__construct()
S
74 2 4
sngmbhSerialcodesValidator_Options::getOptionValue()
S
72 2 5
sngmbhSerialcodesValidator::plugins_loaded()
S
78 2 3
vollstart_PDF::setParts()
S
71 2 6
vollstart_PDF::addPart()
S
70 2 6
vollstart_Ticket::Instance()
S
69 2 7
sngmbhSerialcodesValidator_AdminSettings::removeCode()
S
62 2 10
sngmbhSerialcodesValidator::executeAdminSettings_a()
S
74 2 4
vollstart_Ticket::__construct()
S
67 2 7
sngmbhSerialcodesValidator_WC::woocommerce_delete_order()
S
70 2 6
sngmbhSerialcodesValidator_AdminSettings::removeList()
S
63 2 9
sngmbhSerialcodesValidator_WC::woocommerce_delete_order_refund()
S
70 2 6
sngmbhSerialcodesValidator_Frontend::isUsed()
S
68 2 7
sngmbhSerialcodeWooCommercePluginLoaded()
S
70 2 6
sngmbhSerialcodesValidator_Core::checkCodesSize()
S
78 2 3
sngmbhSerialcodesValidator_Core::getListById()
S
68 2 6
sngmbhSerialcodesValidator_WC::woocommerce_before_cart_table()
S
70 2 6
sngmbhSerialcodesValidator::isPremium()
S
76 2 4
vollstart_Base::getMaxValue()
S
72 2 5
sngmbhSerialcodesValidator_Core::encodeMetaValuesAndFillObjectList()
S
68 2 7
sngmbh_code_list_col()
S
72 2 5
sngmbh_woo_get_lists_sales_restriction()
S
63 2 10
sngmbhSerialcodesValidator::init_backend()
S
63 2 9
sngmbh_woo_get_lists()
S
63 2 10
sngmbhSerialcodesValidator_Options::getOptionDateFormat()
S
66 2 9
sngmbh_DB::init()
S
71 2 6
sngmbhSerialcodesValidator_Core::getCodesByRegUserId()
S
69 2 6
sngmbhSerialcodesValidator_Core::json_encode_with_error_handling()
S
68 2 7
vollstart_PDF::__construct()
S
69 2 7
vollstart_PDF::setQRCodeContent()
S
73 2 5
vollstart_Ticket::addMetaTags()
S
66 1 9
vollstart_PDF::setRTL()
S
81 1 3
sngmbhSerialcodesValidator_WC::getFrontend()
S
77 1 4
sngmbhSerialcodesValidator_AdminSettings::getLists()
S
74 1 4
sngmbhSerialcodesValidator::init_frontend()
S
75 1 4
sngmbhSerialcodesValidator_WC::getAdminSettings()
S
77 1 4
sngmbhSerialcodesValidator::getPrefix()
S
82 1 3
sngmbhSerialcodesValidator_Frontend::getBase()
S
81 1 3
sngmbhSerialcodesValidator_Frontend::getCore()
S
81 1 3
sngmbhSerialcodesValidator_Core::getBase()
S
81 1 3
vollstart_PDF::setOrientation()
S
79 1 3
sngmbh_DB::getCharsetCollate()
S
77 1 4
sngmbhSerialcodesValidator_Frontend::__construct()
S
81 1 3
sngmbhSerialcodesValidator_AdminSettings::getCore()
S
81 1 3
vollstart_PDF::initVars()
S
91 1 2
sngmbh_DB::plugin_deactivated()
S
79 1 3
sngmbhSerialcodesValidator::getPluginVersion()
S
82 1 3
sngmbhSerialcodesValidator_AdminSettings::getBase()
S
81 1 3
sngmbhSerialcodesValidator::executeFrontend_a()
S
81 1 3
sngmbhSerialcodesValidator_AdminSettings::getOptionValue()
S
79 1 3
sngmbhSerialcodesValidator_WC::getCore()
S
77 1 4
sngmbh_DB::__construct()
S
77 1 4
sngmbhSerialcodesValidator_Options::__construct()
S
77 1 4
sngmbhSerialcodesValidator::getMaxValues()
S
77 1 3
sngmbhSerialcodesValidator::plugin_uninstall()
S
77 1 4
sngmbhSerialcodesValidator_AdminSettings::emptyTableCodes()
S
75 1 4
sngmbhSerialcodesValidator_Frontend::getOptions()
S
81 1 3
vollstart_Base::__construct()
S
81 1 3
sngmbhSerialcodesValidator_AdminSettings::getList()
S
73 1 4
vollstart_PDF::setFilename()
S
80 1 3
vollstart_PDF::getParts()
S
82 1 3
sngmbhSerialcodesValidator_AdminSettings::plugin_uninstall()
S
89 1 2
vollstart_PDF::setPageFormat()
S
80 1 3
sngmbh_DB::getAdminSettings()
S
81 1 3
sngmbhSerialcodesValidator::my_upgrade_function()
S
80 1 3
sngmbhSerialcodesValidator_Frontend::getDB()
S
81 1 3
sngmbhSerialcodesValidator::replacingShortcode()
S
71 1 5
sngmbhSerialcodesValidator_AdminSettings::isOptionCheckboxActive()
S
80 1 3
sngmbhSerialcodesValidator_AdminSettings::editList()
S
73 1 4
sngmbhSerialcodesValidator_AdminSettings::addList()
S
73 1 4
sngmbhSerialcodesValidator_AdminSettings::emptyTableLists()
S
70 1 6
sngmbhSerialcodesValidator::initialize_plugin()
S
76 1 4
vollstart_PDF::setFilemode()
S
81 1 3
sngmbh_DB::_db_datenholen()
S
76 1 4
sngmbh_code_list_col_sort()
S
71 1 6
sngmbh_woo_product_settings_tabs()
S
65 1 9
vollstart_Base::getMaxValues()
S
77 1 4
sngmbhSerialcodesValidator::getDB()
S
78 1 3
sngmbhSerialcodesValidator_Core::getTicketURLBase()
S
79 1 3
sngmbhSerialcodesValidator_AdminSettings::__construct()
S
81 1 3
sngmbh_DB::getCodesSize()
S
80 1 3
sngmbhSerialcodesValidator_Options::getBase()
S
81 1 3
sngmbhSerialcodesValidatorDB::__construct()
S
70 1 6
sngmbh_DB::_system_installiereTabellen()
S
80 1 3
vollstart_Ticket::getBase()
S
81 1 3
vollstart_Ticket::isPaid()
S
80 1 3
sngmbhSerialcodesValidator_AdminSettings::changeOption()
S
81 1 3
sngmbhSerialcodesValidator_Core::getDB()
S
81 1 3
SNGMBH::isOrderPaid()
S
72 1 5
vollstart_Ticket::renderPage()
S
75 1 4
sngmbhSerialcodesValidator_Core::getTicketURL()
S
75 1 4
sngmbh_product_serial_code_thankyou_hook()
S
82 1 3
sngmbhSerialcodesValidator_AdminSettings::_getLists()
S
75 1 4
sngmbh_DB::plugin_uninstall()
S
81 1 3
sngmbh_DB::getTabelle()
S
80 1 3
sngmbhSerialcodesValidator_Core::getTicketURLPath()
S
73 1 5
sngmbhSerialcodesValidator::plugin_activated()
S
70 1 6
sngmbhSerialcodesValidator::getPluginPath()
S
82 1 3
sngmbhSerialcodesValidator_AdminSettings::testing()
S
91 1 2
vollstart_Base::getOPTIONS()
S
81 1 3
sngmbhSerialcodesValidator::plugin_deactivated()
S
82 1 3
vollstart_Ticket::getCore()
S
81 1 3
sngmbhSerialcodesValidator_Core::clearCode()
S
77 1 3
vollstart_Ticket::getText()
S
79 1 3
vollstart_Base::getCORE()
S
81 1 3
sngmbhSerialcodesValidator::register_options_page()
S
74 1 4
sngmbhSerialcodesValidator_AdminSettings::getDB()
S
81 1 3
sngmbhSerialcodesValidator_AdminSettings::repairTables()
S
72 1 5