- 
		Home
	
 
	- 
Membership Plugin – Restrict Content
 
- 
3.2.15 (latest)
 
- 
Code
 
- 
Classes
 
-  RCP_Registration 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											105 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											721 | 
										
																			
											| Lines of code | 
											278 | 
										
																			
											| Logical lines of code | 
											175 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											286 | 
										
																			
											| Methods | 
											21 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 21
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| set_registration_type() | 
									B  | 
																	44 | 
													18 | 
													37 | 
							
					
				| get_total_discounts() | 
									A  | 
																	48 | 
													13 | 
													30 | 
							
					
				| maybe_recover_payment() | 
									A  | 
																	50 | 
													11 | 
													26 | 
							
					
				| get_total() | 
									A  | 
																	51 | 
													10 | 
													25 | 
							
					
				| get_recurring_total() | 
									A  | 
																	55 | 
													9 | 
													18 | 
							
					
				| get_total_fees() | 
									S  | 
																	57 | 
													7 | 
													16 | 
							
					
				| get_signup_fees() | 
									S  | 
																	58 | 
													5 | 
													16 | 
							
					
				| maybe_add_signup_fee() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| is_trial() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| get_proration_credits() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| __construct() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| add_fee() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| set_subscription() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| add_discount() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_discounts() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| get_fees() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| get_subscription() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_membership_level_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_registration_type() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_membership() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_recovered_payment() | 
									S  | 
																	82 | 
													1 | 
													3 |