WC_Referralcandy_Integration S

Total Complexity 48
Dependencies 6
Dependents 1
Total lines 344
Lines of code 272
Logical lines of code 107
Comment lines 13
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
check_plugin_requirements()
S
51 6 27
update_order_meta()
S
53 6 22
init_form_fields()
S
40 2 76
render_post_purchase_popup()
S
53 5 23
add_order_meta_data()
S
59 5 14
remove_accepts_marketing_metadata()
S
60 5 13
get_current_locale()
S
54 4 21
render_accepts_marketing_field()
S
59 3 15
render_tracking_code()
S
64 4 10
__construct()
S
47 1 34
rc_set_referrer_cookie()
S
66 3 7
is_option_enabled()
S
78 2 3
sanitize_settings()
S
82 1 3
rc_submit_purchase()
S
75 1 4