Code Analysis: JSON REST API Subscriptions 1.0

Most Complex Classes

Class Rating Complexity
JRAS_Subscriptions_Controller
A
67
JRAS_Notifier
S
33
JRAS_Listener
S
17
JRAS_Subscription_CPT
S
5

Most Complex Functions

Function Rating Complexity
JRAS_Subscriptions_Controller::update_subscription()
B
20
JRAS_Subscriptions_Controller::create_subscription()
B
17
JRAS_Notifier::notify()
B
16
JRAS_Subscriptions_Controller::delete_subscription()
A
14
JRAS_Listener::update_post()
A
11
JRAS_Notifier::send_notify_request()
A
7
JRAS_Subscriptions_Controller::get_subscriptions()
A
7
JRAS_Subscriptions_Controller::register_routes()
S
1
JRAS_Listener::delete_post()
S
3
JRAS_Notifier::format_post_for_request()
S
1
JRAS_Notifier::prepare_date_response()
S
3
JRAS_Subscriptions_Controller::get_subscription_schema()
S
1