Nelio_AB_Testing_Post_REST_Controller B

Total Complexity 78
Dependencies 9
Dependents 1
Total lines 877
Lines of code 615
Logical lines of code 197
Comment lines 190
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_types()
A
34 11 113
get_post()
A
45 10 46
search_wp_post_by_id_or_url()
A
55 8 20
search_posts()
A
49 7 32
build_post_json()
A
44 6 46
search_wp_posts()
S
47 4 38
search_formidable_forms()
S
48 3 36
search_ninja_forms()
S
48 3 36
search_gravity_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_item_params()
S
59 1 16
add_title_filter_to_wp_query()
S
63 2 10
get_post_time()
S
69 2 6
instance()
S
72 2 6
init()
S
79 1 3
overwrite_post_content()
S
68 1 7
get_the_author()
S
79 1 3