WPvivid_one_drive D

Total Complexity 158
Dependencies 3
Dependents 0
Total lines 1,390
Lines of code 1,232
Logical lines of code 569
Comment lines 3
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
C
33 22 100
upload_loop()
A
34 12 105
upload()
A
39 14 66
wpvivid_add_storage_page_one_drive()
A
31 2 224
finish_add_remote()
A
40 9 60
upload_resume()
A
43 7 50
download()
A
44 7 43
refresh_token()
S
45 6 45
get_upload_offset()
S
47 5 42
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
_upload()
S
47 4 37
delete_file()
S
52 4 24
delete_file_by_name()
S
55 4 21
wpvivid_edit_storage_page_one_drive()
S
47 1 60
__construct()
S
52 3 24
create_upload_session()
S
58 2 16
check_file()
S
61 2 13
wpvivid_get_root_path_one_drive()
S
72 2 6
wpvivid_storage_provider_one_drive()
S
72 2 6
wpvivid_get_out_of_date_one_drive()
S
68 2 7
set_token()
S
69 2 7
need_refresh()
S
65 2 10
sanitize_options()
S
64 2 10
pre_add_remote()
S
69 2 7
wpvivid_show_notice_add_onedrive_error()
S
71 1 5
wpvivid_show_notice_add_onedrive_success()
S
78 1 3
wpvivid_remote_pic_one_drive()
S
70 1 6
test_connect()
S
80 1 3
wpvivid_add_storage_tab_one_drive()
S
69 1 7