- 
		Home
	
- 
Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation
- 
2.6.7
- 
Code
- 
Classes
-  OMAPI 
		
			
				
					
													
								
																			
											| Total Complexity | 127 | 
																			
											| Dependencies | 26 | 
																			
											| Dependents | 34 | 
																	
							 
													
								
																			
											| Total lines | 1,123 | 
																			
											| Lines of code | 450 | 
																			
											| Logical lines of code | 221 | 
																	
							 
													
								
																			
											| Comment lines | 492 | 
																			
											| Methods | 43 | 
																			
											| Properties | 25 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 43
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| hide_unrelated_admin_notices() | A | 48 | 16 | 31 | 
					
				| get_api_credentials() | A | 47 | 10 | 40 | 
					
				| define_constants() | A | 50 | 10 | 33 | 
					
				| collect_campaign_data() | S | 50 | 7 | 29 | 
					
				| check_php_version() | S | 47 | 6 | 40 | 
					
				| asset_version() | S | 62 | 7 | 11 | 
					
				| load_option() | S | 54 | 6 | 21 | 
					
				| get_option() | S | 59 | 5 | 15 | 
					
				| get_api_key_errors() | S | 73 | 6 | 4 | 
					
				| load_global() | S | 58 | 4 | 15 | 
					
				| beta_version() | S | 58 | 4 | 15 | 
					
				| get_optins() | S | 54 | 3 | 22 | 
					
				| can_upgrade() | S | 62 | 3 | 12 | 
					
				| load_admin() | S | 57 | 2 | 17 | 
					
				| autoload() | S | 64 | 3 | 9 | 
					
				| get_instance() | S | 70 | 3 | 6 | 
					
				| default_options() | S | 57 | 1 | 18 | 
					
				| init() | S | 66 | 2 | 9 | 
					
				| get_campaigns() | S | 69 | 2 | 7 | 
					
				| has_rule_type() | S | 73 | 2 | 4 | 
					
				| get_site_ids() | S | 74 | 2 | 4 | 
					
				| get_site_id() | S | 74 | 2 | 4 | 
					
				| __construct() | S | 63 | 1 | 10 | 
					
				| load_plugin_textdomain() | S | 68 | 1 | 6 | 
					
				| widgets() | S | 81 | 1 | 3 | 
					
				| load_rest() | S | 64 | 1 | 10 | 
					
				| get_optin() | S | 80 | 1 | 3 | 
					
				| get_optin_by_slug() | S | 78 | 1 | 3 | 
					
				| get_api_url() | S | 81 | 1 | 3 | 
					
				| is_woocommerce_active() | S | 79 | 1 | 3 | 
					
				| woocommerce_version() | S | 80 | 1 | 3 | 
					
				| woocommerce_version_compare() | S | 79 | 1 | 3 | 
					
				| is_mailpoet_active() | S | 80 | 1 | 3 | 
					
				| output_view() | S | 78 | 1 | 3 | 
					
				| get_view_contents() | S | 73 | 1 | 5 | 
					
				| get_min_css_view_contents() | S | 74 | 1 | 4 | 
					
				| output_min_css() | S | 79 | 1 | 3 | 
					
				| get_level() | S | 79 | 1 | 3 | 
					
				| is_custom_plan() | S | 79 | 1 | 3 | 
					
				| beta_enabled() | S | 74 | 1 | 4 | 
					
				| access_capability() | S | 79 | 1 | 3 | 
					
				| can_access() | S | 80 | 1 | 3 | 
					
				| app_url() | S | 79 | 1 | 3 |