Nelio_AB_Testing_Post_REST_Controller B

Total Complexity 76
Dependencies 9
Dependents 1
Total lines 874
Lines of code 606
Logical lines of code 198
Comment lines 194
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
get_types()
A
36 10 103
get_post()
A
46 9 40
search_wp_post_by_id_or_url()
A
55 8 20
build_post_json()
A
44 6 46
search_posts()
S
50 6 29
search_wp_posts()
S
46 4 39
search_formidable_forms()
S
48 3 36
search_gravity_forms()
S
48 3 36
search_ninja_forms()
S
48 3 36
get_gravity_form()
S
54 3 22
register_routes()
S
47 1 50
get_ninja_form()
S
50 2 31
get_post_type_name()
S
65 4 8
get_formidable_form()
S
54 2 22
get_collection_params()
S
53 1 28
get_post_time()
S
61 2 12
get_item_params()
S
59 1 16
add_title_filter_to_wp_query()
S
63 2 10
instance()
S
72 2 6
init()
S
79 1 3
check_if_user_can_use_plugin()
S
80 1 3
overwrite_post_content()
S
68 1 7
get_the_author()
S
79 1 3