sa_backinstock A

Total Complexity 74
Dependencies 5
Dependents 0
Total lines 393
Lines of code 314
Logical lines of code 181
Comment lines 5
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
display_sa_subscribe_box()
B
47 20 31
perform_action_on_ajax_data()
A
40 13 57
processSmsForInStockSubscribers()
S
53 5 19
is_already_subscribed()
S
56 4 16
sa_display_in_no_variation_product()
S
62 4 11
__construct()
S
54 3 19
handleSubcribeRequest()
S
65 4 9
parse_body()
S
57 2 18
getBackInStockTemplates()
S
48 1 33
insert_subscriber()
S
58 2 16
smsalert_populate_subscriber()
S
66 3 9
enqueue_script_on_page()
S
58 2 14
show_subscriber_in_single_product()
S
64 2 9
addTabs()
S
61 1 11
trigger_on_product_stock_changed()
S
73 1 5
trigger_on_variation_stock_changed()
S
80 1 3
getContentFromTemplate()
S
79 1 3
show_subscriber_in_variation_product()
S
71 1 6
addDefaultSetting()
S
68 1 7
display_in_simple_product()
S
77 1 4
sa_display_in_variation()
S
72 1 5
msg_sent_status()
S
66 1 9