Test_WP_Document_Revisions S

Total Complexity 18
Dependencies 0
Dependents 2
Total lines 363
Lines of code 176
Logical lines of code 98
Comment lines 83
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
test_add_document()
S
47 2 39
spoof_upload()
S
50 2 29
setUp()
S
60 2 15
test_verify_post_type()
S
57 1 18
verify_attachment_matches_file()
S
65 2 8
test_revise_document()
S
59 1 14
test_get_attachments()
S
61 1 12
__construct()
S
82 1 3
test_activated()
S
79 1 3
test_post_type_exists()
S
79 1 3
test_workflow_states_exist()
S
64 1 10
test_file_type()
S
65 1 9
test_get_revisions()
S
72 1 5
test_get_revision_number()
S
66 1 8