WP_Test_WP_Job_Manager_Helper_API S

Total Complexity 20
Dependencies 1
Dependents 0
Total lines 220
Lines of code 147
Logical lines of code 59
Comment lines 46
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
set_expected_response()
S
56 5 18
test_plugin_update_check_valid()
S
58 1 17
test_plugin_information_valid()
S
58 1 17
test_activate_valid()
S
58 1 17
test_deactivate_valid()
S
58 1 17
setUp()
S
71 1 6
tearDown()
S
77 1 4
test_wp_job_manager_api_instance()
S
72 1 5
test_plugin_update_check_invalid()
S
71 1 6
test_plugin_information_invalid()
S
71 1 6
test_activate_invalid()
S
70 1 6
test_deactivate_invalid()
S
71 1 6
get_base_args()
S
64 1 10
default_valid_response()
S
80 1 3
default_invalid_response()
S
72 1 6
build_url()
S
78 1 3