Test_CoAuthors_Plus S

Total Complexity 20
Dependencies 3
Dependents 0
Total lines 722
Lines of code 361
Logical lines of code 233
Comment lines 157
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
test_search_authors_when_search_keyword_provided()
S
52 1 30
test_current_user_can_set_authors_using_current_screen()
S
52 1 30
test_get_coauthor_by_when_guest_authors_not_enabled()
S
51 1 28
test_search_authors_no_args()
S
53 1 26
setUp()
S
54 1 24
test_update_author_term_when_author_term_not_exist()
S
54 1 23
test_update_author_term_when_author_term_exists()
S
54 1 23
test_search_authors_when_ignored_authors_provided()
S
55 1 21
test_current_user_can_set_authors_using_global_post()
S
56 1 21
test_current_user_can_set_authors_using_coauthors_plus_edit_authors_filter()
S
56 1 19
test_current_user_can_set_authors_using_normal_post()
S
57 1 18
test_is_post_type_enabled()
S
58 1 17
test_search_authors_when_search_keyword_and_ignored_authors_provided()
S
59 1 15
test_get_coauthor_by_when_guest_author()
S
60 1 14
test_get_author_term_when_author_has_not_linked_account()
S
60 1 14
test_is_guest_authors_enabled()
S
67 1 8
test_get_author_term_when_coauthor_is_not_object()
S
71 1 6
test_get_author_term_using_caching()
S
64 1 9
test_get_author_term_when_author_has_linked_account()
S
65 1 9
test_update_author_term_when_coauthor_is_not_object()
S
71 1 6