WP_Test_WP_Job_Manager_Ajax S

Total Complexity 15
Dependencies 3
Dependents 0
Total lines 301
Lines of code 197
Logical lines of code 140
Comment lines 59
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
test_get_listings()
S
50 3 30
test_get_listings_no_html()
S
48 2 33
test_upload_file()
S
49 1 30
test_upload_file_without_permission()
S
52 1 25
test_upload_bad_file()
S
53 1 22
test_do_jm_ajax()
S
60 1 13
test_get_endpoint()
S
63 1 11
test_wp_job_manager_ajax_instance()
S
72 1 5
load_last_jobs_result()
S
76 1 4
override_upload_action()
S
76 1 4
set_up_job_listing_search_request()
S
64 1 10
tear_down_job_listing_search_request()
S
65 1 10