SLB_Discount_Plugin C

Total Complexity 118
Dependencies 12
Dependents 7
Total lines 630
Lines of code 478
Logical lines of code 328
Comment lines 51
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
hook_metabox_pre_eval()
C
33 25 92
hook_api_pre_eval()
C
33 24 92
get_services_calc_booking_total()
A
46 9 38
hook_booking_setStatus()
S
51 7 24
hook_summary_before_total_amount()
S
51 5 27
hook_booking_builder_create()
S
51 4 27
ajax()
S
54 4 21
hook_init()
S
47 3 34
hook_isSalonPage()
S
64 5 9
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_mail_summary_details()
S
61 3 12
hook_booking_total_amount_row()
S
68 2 7
hook_booking_total_amount_label()
S
71 2 6
getInstance()
S
72 2 6
hook_booking_builder_getTotal()
S
68 2 7
init_ajax()
S
65 2 9
__construct()
S
75 1 4
hook_summary_after_total_amount()
S
75 1 4
hook_wp_enqueue_scripts()
S
77 1 3
hook_admin_enqueue_scripts()
S
77 1 3
hook_admin_init()
S
80 1 3
hook_plugins_loaded()
S
72 1 5
init_admin()
S
82 1 3
createDiscount()
S
79 1 3
getSlnPlugin()
S
82 1 3