Test_CoAuthors_Guest_Authors S

Total Complexity 36
Dependencies 3
Dependents 0
Total lines 912
Lines of code 459
Logical lines of code 339
Comment lines 198
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
test_handle_delete_guest_author_action_with_reassign_is_reassign_another()
S
49 3 31
test_handle_delete_guest_author_action_with_list_users_capability()
S
50 3 30
test_handle_delete_guest_author_action_with_guest_author_existence()
S
51 3 28
test_handle_delete_guest_author_action_with_nonce()
S
52 3 25
test_handle_delete_guest_author_action_with_reassign_is_remove_byline()
S
53 2 22
test_handle_delete_guest_author_action_with_reassign_is_leave_assigned()
S
53 2 22
test_get_guest_author_fields()
S
49 1 36
test_handle_delete_guest_author_action_with_reassign_not_as_expected()
S
54 2 21
setUp()
S
52 1 30
test_handle_delete_guest_author_action_when_post_args_not_as_expected()
S
54 1 23
test_delete_with_reassign_when_linked_account_and_author_are_different_user()
S
54 1 20
test_get_all_linked_accounts()
S
57 1 18
test_get_guest_author_thumbnail()
S
56 1 18
test_delete_with_reassign_without_linked_account_and_author_is_other_user()
S
56 1 18
test_get_guest_author_by_with_different_keys()
S
57 1 17
test_delete_with_reassign_without_linked_account_and_author_is_same_user()
S
58 1 16
test_delete_without_reassign()
S
61 1 12
test_delete_with_reassign_when_linked_account_and_author_are_same_user()
S
60 1 12
test_get_guest_author_by_using_cache()
S
62 1 11
test_create_guest_author_from_user_id()
S
63 1 10
test_get_all_linked_accounts_with_cache()
S
64 1 10
test_get_guest_author_by_with_empty_key_or_value()
S
64 1 10
catch_redirect_destination()
S
79 1 3
test_delete_when_guest_author_not_exist()
S
68 1 7
test_delete_with_reassign_author_not_exist()
S
64 1 9