Wpvivid_Google_drive D

Total Complexity 136
Dependencies 9
Dependents 0
Total lines 1,223
Lines of code 1,078
Logical lines of code 476
Comment lines 13
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
C
31 25 117
download()
B
33 16 104
upload()
A
39 13 63
wpvivid_add_storage_page_google_drive()
A
32 2 224
_upload()
A
33 10 101
check_token()
A
41 9 64
finish_add_remote()
A
40 9 60
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
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
set_token()
S
69 2 7
wpvivid_show_notice_add_google_drive_error()
S
71 1 5
wpvivid_remote_pic_google_drive()
S
70 1 6
wpvivid_show_notice_add_google_drive_success()
S
78 1 3
wpvivid_add_storage_tab_google_drive()
S
69 1 7
test_connect()
S
80 1 3