sngmbhSerialcodesValidator_WC A

Total Complexity 74
Dependencies 2
Dependents 1
Total lines 340
Lines of code 276
Logical lines of code 181
Comment lines 37
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
woocommerce_checkout_create_order_line_item()
A
49 10 33
check_mandatory_coupon_for_specific_items()
A
53 9 22
check_code_for_cartitem()
A
52 8 23
executeWCFrontend()
S
52 7 23
wc_frontend_updateSerialCodeToCartItem()
S
50 6 28
woocommerce_delete_order_item()
S
51 5 28
__construct()
S
55 5 18
containsProductsWithRestrictions()
S
60 4 13
woocommerce_after_cart_item_name()
S
53 3 23
addJSFileAndHandler()
S
55 3 19
woocommerce_checkout_update_order_meta()
S
60 3 12
woocommerce_delete_order()
S
70 2 6
Instance()
S
69 2 7
woocommerce_before_cart_table()
S
70 2 6
woocommerce_delete_order_refund()
S
70 2 6
getCore()
S
81 1 3
getFrontend()
S
81 1 3
getAdminSettings()
S
81 1 3