WC_Facebookcommerce_Pixel A

Total Complexity 68
Dependencies 3
Dependents 1
Total lines 681
Lines of code 320
Logical lines of code 136
Comment lines 252
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
initialize()
A
52 10 24
build_event()
S
47 5 39
get_options()
S
56 4 19
pixel_base_code()
S
52 3 31
pixel_base_code_noscript()
S
56 3 22
get_conditional_event_script()
S
56 3 19
inject_event()
S
60 3 13
set_use_s2s()
S
65 3 9
get_use_s2s()
S
67 3 8
set_use_pii_key()
S
65 3 9
get_use_pii_key()
S
67 3 8
set_pixel_id()
S
65 3 9
get_pixel_id()
S
67 3 8
set_access_token()
S
65 3 9
get_access_token()
S
67 3 8
get_version_info()
S
60 2 15
get_conditional_one_time_event_script()
S
59 1 18
get_script_attributes()
S
65 2 8
get_pixel_init_code()
S
62 1 12
get_event_script()
S
65 1 11
__construct()
S
77 1 4
build_params()
S
74 1 4
inject_conditional_event()
S
77 1 3
get_event_code()
S
75 1 4
is_last_event()
S
80 1 3
get_user_info()
S
82 1 3