Loco_test_WordPressTestCase A

Total Complexity 64
Dependencies 21
Dependents 0
Total lines 641
Lines of code 313
Logical lines of code 202
Comment lines 216
Methods 43
Properties 6

Methods 43

Method Rating Maintainability Complexity Lines of code
set_up()
S
43 3 50
clearTmp()
S
57 5 17
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
63 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
_filter_wp_content_dir()
S
82 1 3
capture_redirects()
S
75 1 4
filter_wp_redirect()
S
76 1 4
activate_test_theme()
S
69 1 7
filter_enforce_test_plugins_only()
S
78 1 3
filter_site_transient_update_core()
S
79 1 3
enable_test_plugins()
S
72 1 5
_filter_locale()
S
82 1 3
assertRedirected()
S
70 1 6
setPostArray()
S
68 1 7
addPostArray()
S
80 1 3
setGetArray()
S
70 1 6
addGetArray()
S
80 1 3
enable_test_content_dir()
S
75 1 4
disable_debug()
S
76 1 4
enable_locale()
S
70 1 6
enable_debug_locale()
S
81 1 3
captureCookie()
S
76 1 4
enable_debug()
S
76 1 4
enable_network()
S
81 1 3
set_up_before_class()
S
65 1 10
unload_textdomain()
S
73 1 5
logout()
S
68 1 7
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
disable_network()
S
76 1 4