WPvivid_one_drive D

Total Complexity 149
Dependencies 3
Dependents 0
Total lines 1,291
Lines of code 1,146
Logical lines of code 517
Comment lines 3
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
handle_auth_actions()
C
33 22 100
upload()
A
40 14 61
wpvivid_add_storage_page_one_drive()
A
31 2 224
upload_loop()
A
37 10 83
finish_add_remote()
A
40 9 60
download()
A
44 7 43
refresh_token()
S
45 6 45
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
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
sanitize_options()
S
64 2 10
pre_add_remote()
S
69 2 7
need_refresh()
S
65 2 10
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