WP_Test_WP_Job_Manager_Post_Types B

Total Complexity 84
Dependencies 4
Dependents 0
Total lines 1,387
Lines of code 1,045
Logical lines of code 513
Comment lines 210
Methods 56
Properties 0

Methods 56

Method Rating Maintainability Complexity Lines of code
test_job_feed_item()
A
38 5 81
assertHasRssItem()
S
56 6 18
test_sanitize_meta_field_based_on_input_type_text()
S
48 3 43
test_sanitize_meta_field_based_on_input_type_textarea()
S
48 3 43
custom_job_listing_data_fields()
S
43 1 64
test_sanitize_meta_field_based_on_input_type_checkbox()
S
51 3 32
test_sanitize_meta_field_url()
S
51 3 32
test_sanitize_meta_field_application()
S
51 3 32
test_noindex_expired_filled_job_listings_expired()
S
49 3 31
test_job_content()
S
49 2 33
test_delete_old_previews()
S
47 1 48
test_check_for_expired_jobs()
S
45 1 46
do_job_feed()
S
59 3 15
test_output_structured_data()
S
52 2 25
test_noindex_expired_filled_job_listings()
S
54 2 22
test_output_structured_data_expired()
S
54 2 22
data_provider_sanitize_meta_field_date()
S
51 1 35
test_job_feed_location_search()
S
50 1 33
test_fix_post_name()
S
52 1 30
test_update_post_meta()
S
52 1 28
test_job_feed_keyword_search()
S
54 1 22
test_add_feed_query_args_if_not_feed()
S
57 1 18
test_maybe_update_menu_order()
S
58 1 17
test_maybe_add_default_meta_data()
S
58 1 16
test_maybe_update_geolocation_data()
S
58 1 16
test_maybe_add_default_meta_data_non_job_listing()
S
58 1 16
test_sanitize_meta_field_date()
S
65 2 9
test_output_kses_post_allow_embeds()
S
59 1 14
test_check_for_expired_jobs_time_of_day_variations()
S
61 1 13
test_get_permalink_structure()
S
60 1 13
test_output_kses_post_simple()
S
62 1 12
test_add_feed_query_args()
S
62 1 11
set_up_custom_job_listing_data_feilds()
S
79 1 3
get_wp_no_robots()
S
74 1 5
assertNotHasRssItem()
S
79 1 3
remove_custom_job_listing_data_feilds()
S
79 1 3
setUp()
S
67 1 8
test_maybe_generate_geolocation_data()
S
70 1 6
test_set_expiry_past()
S
68 1 6
test_wp_job_manager_post_types_instance()
S
72 1 5
test_job_feed_rss2()
S
66 1 8
test_job_feed_rss2_2inrow()
S
66 1 8
test_job_feed_namespace()
S
66 1 8
test_set_expirey()
S
71 1 6
test_set_expiry_post()
S
65 1 8
test_set_expiry_calculate()
S
63 1 9
data_provider_timezones()
S
68 1 8
test_get_job_expiration_end_of_day()
S
65 1 8
test_has_job_expired_past()
S
70 1 5
test_has_job_expired_same_day_start_of_day()
S
64 1 9
test_has_job_expired_same_day_end_of_day()
S
64 1 9
test_has_job_expired_tomorrow()
S
68 1 6
test_get_job_expiration()
S
67 1 7
test_get_job_expiration_null()
S
72 1 5
tearDown()
S
76 1 4
test_get_job_expiration_start_of_day()
S
65 1 8