UpdraftPlus_BackupModule_googledrive D

Total Complexity 296
Dependencies 12
Dependents 0
Total lines 1,470
Lines of code 1,055
Logical lines of code 754
Comment lines 192
Methods 28
Properties 5

Methods 28

Method Rating Maintainability Complexity Lines of code
bootstrap()
D
22
58 151
backup()
C
31 24 100
upload_file()
C
31 22 100
id_from_path()
B
36 23 67
download()
B
35 18 76
show_authed_admin_success()
A
40 15 56
options_filter()
A
44 16 39
prune_retained_backups_finished()
A
42 15 51
listfiles()
A
47 13 31
action_auth()
A
50 11 26
delete()
A
45 10 39
transform_options_for_template()
A
57 11 13
access_token()
A
46 8 35
get_subitems()
A
48 8 33
gdrive_auth_token()
A
45 7 38
get_parent_id()
S
58 6 15
do_authenticate_storage()
S
50 5 27
get_configuration_template()
S
41 1 75
use_master()
S
72 5 4
gdrive_auth_revoke()
S
61 4 12
get_pre_configuration_template()
S
50 2 30
options_exist()
S
73 4 4
__construct()
S
74 3 4
redirect_uri()
S
70 2 7
root_id()
S
75 2 4
get_default_options()
S
70 1 7
get_supported_features()
S
79 1 3
filter_frontend_settings_keys()
S
69 1 8