Test_WP_Document_Revisions_Validate S

Total Complexity 20
Dependencies 5
Dependents 0
Total lines 734
Lines of code 415
Logical lines of code 292
Comment lines 177
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
wpSetUpBeforeClass()
S
39 3 74
test_endpoints()
S
42 3 50
test_struct_wrong_content()
S
41 1 64
test_struct_missing_content()
S
41 1 62
wpTearDownAfterClass()
S
51 3 26
test_struct_not_md5()
S
44 1 46
test_struct_missing_file()
S
53 1 24
test_struct_wrong_locn()
S
53 1 22
test_structure_OK()
S
58 1 17
test_add_help_text()
S
62 1 12
test_structure()
S
73 1 5
test_register_route()
S
73 1 5
test_enqueue_scripts()
S
76 1 4
test_add_menu()
S
76 1 4