Code Analysis: OptinMonster 2.6.5

Most Complex Classes

Class Rating Complexity
OMAPI_RestApi
D
168
OMAPI
C
124
OMAPI_Output
C
122
OMAPI_Rules
C
122
OMAPI_Notifications
C
110
OMAPI_Save
A
57
OMAPI_WooCommerce
A
57
OMAPI_Menu
S
46
OMAPI_Api
S
44
OMAPI_Sites
S
39
OMAPI_Plugins
S
38
OMAPI_Validate
S
37

Most Complex Functions

Function Rating Complexity
OMAPI_Sites::fetch()
C
27
OMAPI_RestApi::get_wp_resources()
B
18
OMAPI_RestApi::update_settings()
B
17
OMAPI_Rules::default_checks()
B
19
OMAPI_Notifications::add_event()
B
16
OMAPI_Output::display_rules_data()
B
17
OMAPI_Api::request()
B
16
OMAPI_Rules::check_taxonomies_field()
B
17
OMAPI_Notifications::verify_notification()
A
16
OMAPI_Actions::maybe_fetch_missing_data()
A
16
OMAPI::hide_unrelated_admin_notices()
A
16
OMAPI_MailPoet::handle_ajax_call()
A
14