Nelio_AB_Testing_Post_REST_Controller S

Total Complexity 46
Dependencies 6
Dependents 1
Total lines 543
Lines of code 317
Logical lines of code 116
Comment lines 173
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
search_wp_post_by_id_or_url()
A
55 8 20
build_post_json()
A
44 6 46
get_post()
S
51 7 26
search_wp_posts()
S
47 4 38
register_routes()
S
47 1 50
get_post_types()
S
49 2 34
search_posts()
S
56 3 18
get_post_type_name()
S
65 4 8
get_collection_params()
S
53 1 28
instance()
S
72 2 6
add_title_filter_to_wp_query()
S
63 2 10
get_post_time()
S
69 2 6
get_item_params()
S
61 1 14
init()
S
79 1 3
overwrite_post_content()
S
68 1 7
get_the_author()
S
79 1 3