Wpvivid_Google_drive D

Total Complexity 151
Dependencies 11
Dependents 0
Total lines 1,306
Lines of code 1,155
Logical lines of code 528
Comment lines 14
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
C
30 26 121
download()
B
33 16 104
_upload()
B
31 13 124
upload()
A
39 13 63
finish_add_remote()
A
37 12 75
wpvivid_add_storage_page_google_drive()
A
32 2 224
check_token()
A
39 11 73
get_client()
A
39 11 69
cleanup()
A
47 7 37
sanitize_options()
S
52 7 25
delete_exist_file()
S
48 6 36
__construct()
S
48 3 33
wpvivid_edit_storage_page_google_drive()
S
47 1 61
get_folder()
S
53 3 23
set_token()
S
63 3 11
get_download_url()
S
56 2 18
pre_add_remote()
S
69 2 7
wpvivid_get_out_of_date_google_drive()
S
68 2 7
wpvivid_storage_provider_google_drive()
S
72 2 6
wpvivid_get_root_path_google_drive()
S
72 2 6
compare_php_version()
S
69 2 6
wpvivid_show_notice_add_google_drive_error()
S
71 1 5
wpvivid_show_notice_add_google_drive_success()
S
73 1 5
test_connect()
S
80 1 3
wpvivid_remote_pic_google_drive()
S
70 1 6
wpvivid_add_storage_tab_google_drive()
S
69 1 7