Nelio_AB_Testing_Post_REST_Controller A

Total Complexity 51
Dependencies 7
Dependents 1
Total lines 585
Lines of code 331
Logical lines of code 126
Comment lines 180
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
build_post_json()
A
42 9 52
get_post()
A
49 7 32
search_wp_post_by_id_or_url()
S
55 7 20
search_wp_posts()
S
46 4 39
get_post_types()
S
48 3 36
register_routes()
S
47 1 50
search_posts()
S
56 3 18
get_post_type_name()
S
65 4 8
add_title_filter_to_wp_query()
S
63 3 10
get_post_time()
S
70 3 5
get_collection_params()
S
53 1 28
instance()
S
71 2 6
get_item_params()
S
61 1 14
init()
S
79 1 3
overwrite_post_content()
S
67 1 7
get_the_author()
S
79 1 3