WFG_Frontend A

Total Complexity 71
Dependencies 4
Dependents 0
Total lines 510
Lines of code 239
Logical lines of code 150
Comment lines 170
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
validate_gifts()
S
57 6 18
wfg_ajax_add_free_gifts()
S
57 6 17
check_cart_items()
S
57 6 17
wfg_item_removed()
S
59 6 14
_show_gifts()
S
54 5 21
display_gifts()
S
56 5 19
__gift_item_in_cart()
S
57 5 17
__get_post_id()
S
59 5 14
__remove_gift_products()
S
60 5 12
__hook_global_settings()
S
60 4 14
__get_actual_settings()
S
58 3 16
wfg_disallow_qty_update()
S
64 3 10
_validate_single_gift_condition()
S
65 3 10
_check_global_gift_criteria()
S
65 3 10
__set_actual_values()
S
71 2 5
__set_notice_text()
S
68 2 7
__construct()
S
65 1 9
__init()
S
64 1 9