- 
		Home
	
 
	- 
WP-Members Membership Plugin
 
- 
3.3.9.2
 
- 
Code
 
- 
Classes
 
-  WP_Members_Products 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											54 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											509 | 
										
																			
											| Lines of code | 
											228 | 
										
																			
											| Logical lines of code | 
											108 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											236 | 
										
																			
											| Methods | 
											11 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 11
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| product_access() | 
									A  | 
																	47 | 
													11 | 
													31 | 
							
					
				| set_product_expiration() | 
									A  | 
																	50 | 
													9 | 
													27 | 
							
					
				| load_products() | 
									S  | 
																	52 | 
													6 | 
													23 | 
							
					
				| access_message() | 
									S  | 
																	57 | 
													6 | 
													17 | 
							
					
				| explode_fixed_period() | 
									S  | 
																	63 | 
													7 | 
													8 | 
							
					
				| add_cpt() | 
									S  | 
																	41 | 
													3 | 
													56 | 
							
					
				| calculate_fixed_period() | 
									S  | 
																	51 | 
													5 | 
													26 | 
							
					
				| get_default_products() | 
									S  | 
																	57 | 
													3 | 
													17 | 
							
					
				| get_all_posts() | 
									S  | 
																	61 | 
													2 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| get_post_products() | 
									S  | 
																	72 | 
													1 | 
													5 |