WP_Test_WP_Job_Manager_Job_Listings_Test S

Total Complexity 38
Dependencies 1
Dependents 0
Total lines 425
Lines of code 344
Logical lines of code 143
Comment lines 17
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
test_meta_input_sterilized()
S
42 3 63
test_admin_can_set_meta_fields()
S
48 3 33
test_different_employer_read_access_to_private_meta_fields()
S
56 3 17
test_guest_can_read_only_public_fields()
S
56 3 16
test_same_employer_read_access_to_private_meta_fields()
S
59 2 12
test_admin_can_delete_meta_fields()
S
55 1 21
data_provider_test_meta_input_bad_data_type()
S
59 1 19
test_employer_publish_their_own_unpublished_job_listing_success()
S
61 1 13
test_meta_input_bad_data_type()
S
62 1 12
test_employer_put_job_listings_fail()
S
63 1 11
test_guest_post_job_listings_fail()
S
64 1 11
test_guest_put_job_listings_fail()
S
63 1 11
test_legacy_custom_fields_do_not_show_up_in_rest()
S
61 1 11
test_employer_post_job_listings_fail()
S
64 1 11
reset_meta_keys()
S
73 1 5
add_legacy_field()
S
66 1 9
setUp()
S
77 1 4
test_get_job_listings_success_guest()
S
73 1 5
test_get_job_listings_success()
S
73 1 5
test_guest_get_job_listings_success()
S
73 1 5
test_employer_delete_job_listings_fail()
S
69 1 6
test_employer_get_their_own_unpublished_job_listing_success()
S
69 1 6
test_employer_get_unpublished_job_listing_fail()
S
69 1 6
test_employer_get_job_listing_success()
S
70 1 6
test_employer_get_job_listings_success()
S
73 1 5
test_guest_delete_job_listings_fail()
S
69 1 6
test_guest_get_unpublished_job_listing_fail()
S
69 1 6
test_guest_get_job_listing_success()
S
70 1 6
get_job_listing()
S
80 1 3