SMSIdea_Instance_Manager D

Total Complexity 238
Dependencies 4
Dependents 20
Total lines 1,456
Lines of code 963
Logical lines of code 478
Comment lines 347
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
upsert_account_and_instances()
D
16
73 225
save_instance_from_qr()
C
36 29 70
fetch_account_info()
B
37 18 66
render_status_table_rows()
A
40 15 56
check_qr_code_status()
A
39 13 65
fetch_qr_code()
A
39 13 61
logout_instance()
A
41 8 54
install_tables()
A
43 6 53
activate_first_instance_for_account()
S
46 6 42
render_status_panel()
S
46 6 39
toggle_instance_active()
S
50 6 31
is_account_validity_expired()
S
52 6 23
clear_orphaned_account_data()
S
46 4 40
clear_account_data()
S
48 4 34
parse_datetime()
S
62 5 11
get_instance_by_id()
S
59 4 13
get_instances_by_account()
S
59 4 13
get_account_by_masterkey()
S
60 3 13
get_active_instance_api_key()
S
60 3 13
maybe_upgrade_schema()
S
68 2 7
mask_key()
S
67 2 7
admin_notice()
S
63 2 10
init()
S
79 1 3
register_textdomain()
S
89 1 2
get_option()
S
78 1 3
sanitize_master_key()
S
80 1 3
sanitize_test_master_key()
S
80 1 3
verify_manage_options()
S
80 1 3