- 
		Home
	
 
	- 
Membership Plugin – Restrict Content
 
- 
3.2.15 (latest)
 
- 
Code
 
- 
Classes
 
-  RCP_Payments 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											182 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											22 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,222 | 
										
																			
											| Lines of code | 
											626 | 
										
																			
											| Logical lines of code | 
											405 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											309 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_payments() | 
									D  | 
																	25  | 
													36 | 
													157 | 
							
					
				| count() | 
									C  | 
																	30 | 
													28 | 
													110 | 
							
					
				| backfill_payment_data() | 
									B  | 
																	43 | 
													23 | 
													43 | 
							
					
				| get_earnings() | 
									B  | 
																	38 | 
													20 | 
													65 | 
							
					
				| get_payment_gateway() | 
									B  | 
																	43 | 
													20 | 
													46 | 
							
					
				| insert() | 
									B  | 
																	38 | 
													17 | 
													66 | 
							
					
				| get_refunds() | 
									B  | 
																	40 | 
													17 | 
													57 | 
							
					
				| update() | 
									S  | 
																	52 | 
													6 | 
													22 | 
							
					
				| get_payment() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| get_payment_by() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| last_payment_of_user() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| payment_exists() | 
									S  | 
																	65 | 
													1 | 
													10 | 
							
					
				| delete() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| get_meta() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| add_meta() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| update_meta() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| delete_meta() | 
									S  | 
																	78 | 
													1 | 
													3 |