Loco_test_WordPressTestCase A

Total Complexity 61
Dependencies 20
Dependents 0
Total lines 569
Lines of code 286
Logical lines of code 183
Comment lines 186
Methods 38
Properties 6

Methods 38

Method Rating Maintainability Complexity Lines of code
login()
S
53 6 22
clearTmp()
S
57 5 17
set_up()
S
46 3 40
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
filter_fs_allow()
S
71 2 6
filter_fs_method()
S
79 2 3
enable_buffer()
S
72 2 6
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
clean_up_global_scope()
S
74 1 5
assertRedirected()
S
70 1 6
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
80 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