WP_Test_WP_Job_Manager_Functions S

Total Complexity 46
Dependencies 0
Dependents 0
Total lines 946
Lines of code 771
Logical lines of code 249
Comment lines 108
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
test_get_job_listings_categories()
A
36 3 111
test_get_job_listings_job_types()
A
38 3 91
test_get_job_listings_location()
S
38 1 98
test_get_job_listings_featured_rand_cache()
S
46 4 44
test_get_job_listings_featured_rand_no_cache()
S
46 4 44
test_get_job_listings_post_status()
S
44 1 62
test_get_job_listings_filled()
S
47 2 44
test_get_job_listings_featured()
S
47 2 44
test_get_job_listings_keywords()
S
52 1 29
test_get_categories_by_slug()
S
56 1 19
test_get_categories_by_slug_excluding_categories()
S
56 1 19
test_is_wpjm_job_listing_jobs_shortcode_request()
S
62 1 12
test_is_wpjm_job_listing_jobs_dashboard_shortcode_request()
S
62 1 12
test_is_wpjm_job_listing_submit_jobs_shortcode_request()
S
62 1 12
set_up_request_job_listing()
S
76 1 4
set_up_request_page()
S
80 1 3
set_up_request_shortcode()
S
70 1 6
setUp()
S
64 1 10
set_up_request_normal_page()
S
65 1 10
set_up_request_home_page()
S
81 1 3
set_up_request_taxonomy()
S
74 1 4
create_shortcode_page()
S
66 1 9
disable_job_listing_cache()
S
76 1 4
test_is_wpjm_not_job_listing_request()
S
70 1 7
test_get_category_slugs_from_search_query_string_empty_query_string()
S
67 1 9
test_get_category_slugs_from_search_query_string_no_query_string()
S
69 1 8
test_get_category_slugs_from_search_query_string()
S
64 1 10
test_is_wpjm_taxonomy_success()
S
66 1 9
test_is_wpjm_not_job_listing_home_request()
S
70 1 7
tearDown()
S
73 1 5
test_is_wpjm_job_listing_request()
S
70 1 7
test_is_wpjm_job_listing_archive_request()
S
68 1 8
test_is_wpjm_no_request()
S
81 1 3
enable_job_listing_cache()
S
76 1 4