- 
		Home
	
 
	- 
GiveWP – Donation Plugin and Fundraising Platform
 
- 
3.4.1
 
- 
Code
 
- 
Classes
 
-  Give_Recurring_Subscriber 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											57 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											441 | 
										
																			
											| Lines of code | 
											188 | 
										
																			
											| Logical lines of code | 
											107 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											159 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_subscriptions() | 
									S  | 
																	54 | 
													5 | 
													22 | 
							
					
				| has_active_subscription() | 
									S  | 
																	58 | 
													5 | 
													16 | 
							
					
				| get_new_expiration() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| getSubscriber() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| get_recurring_donor_id() | 
									S  | 
																	61 | 
													5 | 
													12 | 
							
					
				| getAccessType() | 
									S  | 
																	62 | 
													5 | 
													12 | 
							
					
				| set_recurring_donor_id() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| add_payment() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| add_subscription() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| get_subscription_by_profile_id() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| canAccessView() | 
									S  | 
																	77 | 
													3 | 
													3 | 
							
					
				| has_subscription() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| get_subscription() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| set_as_subscriber() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| get_recurring_donor_ids() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| doesSubscriptionBelongsTo() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 |