Loco_test_WordPressTestCase A

Total Complexity 60
Dependencies 20
Dependents 0
Total lines 588
Lines of code 287
Logical lines of code 184
Comment lines 203
Methods 39
Properties 6

Methods 39

Method Rating Maintainability Complexity Lines of code
clearTmp()
S
57 5 17
set_up()
S
44 3 44
login()
S
57 4 16
addFileUpload()
S
57 3 16
tear_down()
S
60 3 13
dropOptions()
S
61 3 11
filter_allows_fake_plugins_to_exist()
S
64 3 9
renderPage()
S
59 2 13
enable_buffer()
S
72 2 6
filter_fs_method()
S
79 2 3
filter_fs_allow()
S
71 2 6
clean_up_global_scope()
S
74 1 5
enable_test_content_dir()
S
75 1 4
_filter_wp_content_dir()
S
82 1 3
capture_redirects()
S
75 1 4
filter_wp_redirect()
S
76 1 4
assertRedirected()
S
70 1 6
filter_site_transient_update_core()
S
79 1 3
enable_locale()
S
70 1 6
setPostArray()
S
68 1 7
addPostArray()
S
80 1 3
setGetArray()
S
70 1 6
addGetArray()
S
80 1 3
_filter_locale()
S
82 1 3
enable_debug()
S
76 1 4
enable_debug_locale()
S
81 1 3
disable_debug()
S
76 1 4
captureCookie()
S
76 1 4
enable_network()
S
81 1 3
disable_network()
S
76 1 4
set_up_before_class()
S
65 1 10
tear_down_after_class()
S
67 1 9
filter_fs_allow_context()
S
82 1 3
filter_fs_disallow()
S
81 1 3
disable_file_mods()
S
77 1 4
set_fs_method()
S
70 1 6
renderAjax()
S
71 1 6
assertCookieSet()
S
70 1 6
logout()
S
68 1 7