UpdraftPlus_BackupModule_googledrive D

Total Complexity 326
Dependencies 13
Dependents 0
Total lines 1,678
Lines of code 1,164
Logical lines of code 766
Comment lines 272
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
bootstrap()
D
21
61 157
upload_file()
C
30 26 105
backup()
C
31 24 99
id_from_path()
B
36 23 67
download()
B
35 20 79
show_authed_admin_success()
B
38 17 64
options_filter()
A
44 16 39
prune_retained_backups_finished()
A
42 15 51
list_files_or_folders()
A
44 15 39
action_auth()
A
49 11 31
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
do_complete_authentication()
S
57 7 16
get_parent_id()
S
56 7 16
do_authenticate_storage()
S
47 5 33
get_configuration_template()
S
50 1 73
get_template_properties()
S
46 3 34
use_master()
S
72 5 4
gdrive_auth_revoke()
S
61 4 12
__construct()
S
67 4 7
options_exist()
S
73 4 4
catch_upload_engine_exceptions()
S
60 3 11
get_pre_configuration_template()
S
68 1 24
redirect_uri()
S
70 2 7
listfiles()
S
80 1 3
list_folders()
S
79 1 3
root_id()
S
81 1 3
get_default_options()
S
70 1 7
get_partial_templates()
S
77 1 3
get_supported_features()
S
78 1 3
filter_frontend_settings_keys()
S
69 1 8
build_authentication_link()
S
71 1 4