WPvivid_one_drive D

Total Complexity 162
Dependencies 3
Dependents 0
Total lines 1,215
Lines of code 1,068
Logical lines of code 520
Comment lines 2
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
D
24
43 170
upload()
A
40 14 61
upload_loop()
A
37 10 83
download()
A
44 7 43
wpvivid_add_storage_page_one_drive()
A
38 1 131
refresh_token()
S
45 6 44
upload_resume()
S
44 6 44
remote_post()
S
47 5 37
remote_get()
S
48 5 35
upload_small_file()
S
47 5 33
download_loop()
S
48 5 33
check_folder()
S
50 5 32
get_files_id()
S
51 5 29
cleanup()
S
52 5 26
delete_file()
S
52 4 24
delete_file_by_name()
S
55 4 21
wpvivid_edit_storage_page_one_drive()
S
47 1 60
_upload()
S
52 3 26
__construct()
S
53 3 22
create_upload_session()
S
58 2 16
check_file()
S
61 2 13
wpvivid_get_out_of_date_one_drive()
S
68 2 7
wpvivid_storage_provider_one_drive()
S
72 2 6
need_refresh()
S
65 2 10
pre_add_remote()
S
69 2 7
set_token()
S
69 2 7
sanitize_options()
S
64 2 10
wpvivid_get_root_path_one_drive()
S
72 2 6
test_connect()
S
80 1 3
wpvivid_add_storage_tab_one_drive()
S
69 1 7
wpvivid_show_notice_edit_onedrive_error()
S
72 1 5
wpvivid_show_notice_edit_onedrive_success()
S
78 1 3
wpvivid_remote_pic_one_drive()
S
70 1 6
wpvivid_show_notice_add_onedrive_error()
S
72 1 5
wpvivid_show_notice_add_onedrive_success()
S
78 1 3