Test_Manage_CoAuthors S

Total Complexity 13
Dependencies 1
Dependents 0
Total lines 465
Lines of code 262
Logical lines of code 129
Comment lines 98
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
setUp()
S
45 1 53
test_coauthors_set_post_author_field_when_coauthor_is_set()
S
50 1 31
test_coauthors_set_post_author_field_when_post_type_is_attachment()
S
53 1 27
test_coauthors_update_post_when_current_user_can_set_authors()
S
53 1 24
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_post_type_is_attachment()
S
56 1 22
test_coauthors_set_post_author_field_when_post_author_is_not_set()
S
56 1 18
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