WP_UnitTestCase_Base D

Total Complexity 192
Dependencies 14
Dependents 0
Total lines 1,593
Lines of code 814
Logical lines of code 419
Comment lines 592
Methods 69
Properties 8

Methods 69

Method Rating Maintainability Complexity Lines of code
deprecated_function_run()
A
41 10 71
assertQueryTrue()
A
42 8 55
expectedDeprecated()
A
47 9 39
go_to()
A
47 7 35
tear_down()
S
48 6 31
set_up()
S
53 6 24
expectDeprecated()
S
48 5 34
assertSameIgnoreEOL()
S
54 5 25
temp_filename()
S
58 5 15
_restore_hooks()
S
59 5 14
skipTestOnTimeout()
S
60 5 14
unregister_all_meta_keys()
S
61 5 13
scandir()
S
60 5 13
text_array_to_dataprovider()
S
58 4 17
wp_die_handler()
S
61 4 13
_make_attachment()
S
54 3 22
flush_cache()
S
50 2 33
skipOnAutomatedBranches()
S
63 4 10
unlink()
S
66 4 8
knownPluginBug()
S
65 4 8
knownWPBug()
S
66 4 8
files_in_dir()
S
63 3 11
doing_it_wrong_run()
S
66 3 8
setExpectedException()
S
66 3 9
delete_folders()
S
64 3 10
rmdir()
S
66 3 8
assertDiscardWhitespace()
S
65 3 9
reset_post_types()
S
67 3 8
_backup_hooks()
S
63 3 10
touch()
S
64 3 10
set_up_before_class()
S
60 2 13
update_post_modified()
S
58 1 20
delete_user()
S
71 2 6
scan_user_uploads()
S
66 2 9
checkRequirements()
S
74 2 5
assertNonEmptyMultidimensionalArray()
S
66 2 8
factory()
S
69 2 7
assertEqualFields()
S
63 2 9
_drop_temporary_tables()
S
70 2 6
tear_down_after_class()
S
65 2 10
skipWithoutMultisite()
S
74 2 5
skipWithMultisite()
S
75 2 5
reset_taxonomies()
S
72 2 6
reset_post_statuses()
S
73 2 5
_create_temporary_tables()
S
70 2 6
assertNotIXRError()
S
70 2 6
assertNotWPError()
S
70 2 6
setExpectedIncorrectUsage()
S
80 1 3
reset__SERVER()
S
82 1 3
assertIXRError()
S
79 1 3
clean_up_global_scope()
S
72 1 6
set_permalink_structure()
S
72 1 6
assertEqualsIgnoreEOL()
S
79 1 3
_microtime_to_float()
S
75 1 4
assertSameSets()
S
68 1 7
assertEqualSets()
S
68 1 7
assertSameSetsWithIndex()
S
68 1 7
remove_added_uploads()
S
76 1 4
setExpectedDeprecated()
S
80 1 3
start_transaction()
S
68 1 7
commit_transaction()
S
76 1 4
assertEqualSetsWithIndex()
S
68 1 7
prepareTemplate()
S
73 1 5
get_called_class()
S
80 1 3
assertWPError()
S
79 1 3
knownUTBug()
S
83 1 3
get_wp_die_handler()
S
80 1 3
assert_post_conditions()
S
82 1 3
forceTicket()
S
79 1 3