UpdraftPlus_BackupModule_googledrive D

Total Complexity 310
Dependencies 13
Dependents 0
Total lines 1,565
Lines of code 1,096
Logical lines of code 780
Comment lines 228
Methods 31
Properties 6

Methods 31

Method Rating Maintainability Complexity Lines of code
bootstrap()
D
22
58 151
upload_file()
C
30 26 105
backup()
C
31 24 99
id_from_path()
B
36 23 67
download()
B
35 18 76
show_authed_admin_success()
B
38 16 61
options_filter()
A
44 16 39
prune_retained_backups_finished()
A
42 15 51
listfiles()
A
47 13 31
delete()
A
45 10 39
transform_options_for_template()
A
57 11 13
action_auth()
A
51 10 27
access_token()
A
46 8 35
get_subitems()
A
48 8 33
gdrive_auth_token()
A
45 7 38
do_complete_authentication()
S
58 6 15
get_parent_id()
S
58 6 15
do_authenticate_storage()
S
49 5 29
get_configuration_template()
S
41 1 74
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
catch_upload_engine_exceptions()
S
60 3 11
__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
78 1 3
filter_frontend_settings_keys()
S
69 1 8
build_authentication_link()
S
71 1 4