Wpvivid_Google_drive D

Total Complexity 145
Dependencies 8
Dependents 0
Total lines 1,042
Lines of code 924
Logical lines of code 448
Comment lines 3
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
D
21
51 211
download()
B
33 16 104
upload()
A
40 13 57
_upload()
A
40 7 60
wpvivid_add_storage_page_google_drive()
A
38 1 131
cleanup()
A
47 7 37
sanitize_options()
S
52 7 25
get_client()
S
48 5 35
check_token()
S
49 5 32
delete_exist_file()
S
51 5 28
__construct()
S
49 3 31
wpvivid_edit_storage_page_google_drive()
S
47 1 61
get_folder()
S
53 3 23
get_download_url()
S
56 2 18
pre_add_remote()
S
69 2 7
set_token()
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_remote_pic_google_drive()
S
70 1 6
test_connect()
S
80 1 3
wpvivid_add_storage_tab_google_drive()
S
69 1 7
wpvivid_show_notice_edit_google_drive_error()
S
72 1 5
wpvivid_show_notice_edit_google_drive_success()
S
78 1 3
wpvivid_show_notice_add_google_drive_error()
S
72 1 5
wpvivid_show_notice_add_google_drive_success()
S
78 1 3