SLB_Discount_Plugin D

Total Complexity 149
Dependencies 14
Dependents 9
Total lines 736
Lines of code 574
Logical lines of code 376
Comment lines 49
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
hook_metabox_pre_eval()
D
31 30 106
hook_api_pre_eval()
C
34 24 84
get_services_calc_booking_total()
A
42 14 53
hook_booking_builder_create()
A
40 13 58
hook_booking_setStatus()
S
51 7 25
hook_mail_special_offer()
S
50 5 28
get_fidelity_score_discounts_score()
S
61 5 12
hook_init()
S
46 3 37
ajax()
S
54 4 21
hook_mail_summary_details()
S
57 4 16
hook_isSalonPage()
S
63 5 10
get_discounts_html_calc_booking_total()
S
62 4 11
hook_summary_dispatchForm_before_booking_creation()
S
60 3 13
get_discount_amount_ajaxcalendar_booking()
S
62 3 12
hook_summary_before_total_amount()
S
62 3 11
hook_booking_builder_getTotal()
S
68 2 7
hook_booking_total_amount_row()
S
68 2 7
createDiscount()
S
71 2 6
init_ajax()
S
65 2 9
getInstance()
S
72 2 6
hook_booking_total_amount_label()
S
71 2 6
hook_history_content()
S
74 1 4
hook_wp_enqueue_scripts()
S
77 1 3
hook_admin_init()
S
80 1 3
hook_plugins_loaded()
S
72 1 5
hook_history_nav()
S
78 1 3
hook_summary_after_total_amount()
S
75 1 4
init_admin()
S
78 1 4
__construct()
S
75 1 4
getSlnPlugin()
S
82 1 3
hook_admin_enqueue_scripts()
S
77 1 3