Test_Manage_CoAuthors S

Total Complexity 13
Dependencies 1
Dependents 0
Total lines 426
Lines of code 225
Logical lines of code 131
Comment lines 98
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
setUp()
S
48 1 38
test_coauthors_set_post_author_field_when_coauthor_is_set()
S
51 1 27
test_post_publish_count_for_coauthor()
S
54 1 23
test_coauthors_set_post_author_field_when_guest_author_is_linked_with_wp_user()
S
54 1 22
test_coauthors_update_post_when_current_user_can_set_authors()
S
54 1 22
test_coauthors_set_post_author_field_when_post_type_is_attachment()
S
56 1 19
test_coauthors_set_post_author_field_when_post_author_is_not_set()
S
56 1 18
test_coauthors_update_post_when_post_type_is_attachment()
S
60 1 14
test_add_coauthor_to_post()
S
61 1 12
test_coauthors_set_post_author_field_when_coauthor_is_not_set()
S
62 1 11
tearDown()
S
81 1 3
test_add_coauthor_updates_post_author()
S
66 1 8
test_coauthors_update_post_when_post_has_not_author_terms()
S
67 1 8