Nelio_AB_Testing_Account_REST_Controller S

Total Complexity 44
Dependencies 3
Dependents 1
Total lines 838
Lines of code 564
Logical lines of code 177
Comment lines 174
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
register_routes()
A
35 1 140
get_products()
S
45 5 40
buy_more_quota()
S
45 4 42
get_sites_using_subscription()
S
46 3 41
create_premium_site()
S
47 3 37
create_free_site()
S
48 3 34
use_license_in_site()
S
48 3 31
upgrade_subscription()
S
49 3 29
get_site_data()
S
50 3 27
remove_license_from_site()
S
52 3 23
get_invoices_from_subscription()
S
50 2 28
cancel_subscription()
S
54 2 20
uncancel_subscription()
S
54 2 20
create_account_object()
S
48 1 34
instance()
S
72 2 6
check_if_user_is_admin()
S
80 1 3
check_if_user_can_use_plugin()
S
80 1 3
init()
S
79 1 3
notify_site_created()
S
81 1 3