Wpvivid_Google_drive D

Total Complexity 127
Dependencies 8
Dependents 0
Total lines 1,097
Lines of code 977
Logical lines of code 424
Comment lines 4
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
wpvivid_add_storage_page_google_drive()
A
32 2 224
upload()
A
40 13 57
finish_add_remote()
A
40 9 60
_upload()
A
40 7 60
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
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
78 1 3
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