-
Home
-
Memberships for WooCommerce
-
1.0.3 (latest)
-
Code
-
Classes
- Xa_Woocommerce_User_Membership
Total Complexity |
144 |
Dependencies |
2 |
Dependents |
4 |
Total lines |
563 |
Lines of code |
375 |
Logical lines of code |
218 |
Comment lines |
6 |
Methods |
44 |
Properties |
14 |
Methods 44
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_product_id() |
A |
51 |
15 |
23 |
hf_update_user_membership_data() |
A |
50 |
12 |
25 |
get_total_time() |
A |
51 |
11 |
25 |
__construct() |
A |
49 |
9 |
31 |
is_active() |
S |
56 |
6 |
18 |
set_end_date() |
S |
58 |
6 |
14 |
get_type() |
S |
59 |
6 |
14 |
update_status() |
S |
55 |
5 |
18 |
set_order_id() |
S |
60 |
5 |
12 |
set_product_id() |
S |
62 |
5 |
11 |
get_product() |
S |
64 |
5 |
10 |
set_start_date() |
S |
62 |
4 |
10 |
is_in_active_period() |
S |
69 |
4 |
6 |
expire_membership() |
S |
61 |
3 |
11 |
get_plan() |
S |
62 |
3 |
11 |
cancel_membership() |
S |
65 |
3 |
8 |
get_user() |
S |
73 |
3 |
4 |
has_status() |
S |
72 |
3 |
4 |
wt_get_user_membership_statuses() |
S |
55 |
1 |
21 |
get_order() |
S |
75 |
2 |
4 |
get_order_id() |
S |
74 |
2 |
4 |
get_local_end_date() |
S |
68 |
2 |
7 |
set_cancelled_date() |
S |
72 |
2 |
5 |
get_local_cancelled_date() |
S |
68 |
2 |
7 |
get_cancelled_date() |
S |
69 |
2 |
6 |
get_end_date() |
S |
73 |
2 |
4 |
get_local_start_date() |
S |
68 |
2 |
7 |
get_start_date() |
S |
73 |
2 |
4 |
is_type() |
S |
77 |
2 |
3 |
is_expired() |
S |
80 |
1 |
3 |
is_cancelled() |
S |
80 |
1 |
3 |
delete_product_id() |
S |
76 |
1 |
4 |
get_user_id() |
S |
82 |
1 |
3 |
get_id() |
S |
82 |
1 |
3 |
get_product_ids_for_restriction() |
S |
75 |
1 |
4 |
delete_order_id() |
S |
80 |
1 |
3 |
get_total_inactive_time() |
S |
79 |
1 |
3 |
get_status() |
S |
82 |
1 |
3 |
has_end_date() |
S |
79 |
1 |
3 |
has_start_date() |
S |
80 |
1 |
3 |
get_member_user_id() |
S |
75 |
1 |
4 |
set_member_user_id() |
S |
79 |
1 |
3 |
get_plan_id() |
S |
82 |
1 |
3 |
get_total_active_time() |
S |
79 |
1 |
3 |