Nelio_AB_Testing_Post_REST_Controller S

Total Complexity 49
Dependencies 7
Dependents 1
Total lines 566
Lines of code 331
Logical lines of code 126
Comment lines 194
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
build_post_json()
A
42 8 53
get_post()
A
49 8 32
search_wp_post_by_id_or_url()
A
55 8 20
search_wp_posts()
S
46 4 39
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