Wpvivid_Google_drive D

Total Complexity 137
Dependencies 10
Dependents 0
Total lines 1,231
Lines of code 1,087
Logical lines of code 482
Comment lines 13
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
C
30 25 119
download()
B
33 16 104
upload()
A
39 13 63
wpvivid_add_storage_page_google_drive()
A
31 2 224
_upload()
A
33 10 101
finish_add_remote()
A
39 10 65
check_token()
A
41 9 64
get_client()
A
42 7 57
cleanup()
A
47 7 37
sanitize_options()
S
52 7 25
delete_exist_file()
S
51 5 28
__construct()
S
48 3 33
wpvivid_edit_storage_page_google_drive()
S
47 1 61
get_folder()
S
53 3 23
get_download_url()
S
56 2 18
compare_php_version()
S
69 2 6
wpvivid_get_root_path_google_drive()
S
72 2 6
wpvivid_storage_provider_google_drive()
S
72 2 6
wpvivid_get_out_of_date_google_drive()
S
68 2 7
set_token()
S
69 2 7
pre_add_remote()
S
69 2 7
wpvivid_show_notice_add_google_drive_success()
S
73 1 5
wpvivid_show_notice_add_google_drive_error()
S
71 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