- 
		Home
	
 
	- 
Image Gallery – Photo Grid & Video Gallery
 
- 
2.12.25
 
- 
Code
 
- 
Classes
 
-  WPChill_Upsells 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											77 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											566 | 
										
																			
											| Lines of code | 
											312 | 
										
																			
											| Logical lines of code | 
											142 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											140 | 
										
																			
											| Methods | 
											12 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 12
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| lite_vs_premium() | 
									D  | 
																	22  | 
													40 | 
													213 | 
							
					
				| get_extensions_upsell() | 
									A  | 
																	56 | 
													8 | 
													18 | 
							
					
				| fetch_packages() | 
									S  | 
																	53 | 
													6 | 
													22 | 
							
					
				| __construct() | 
									S  | 
																	60 | 
													5 | 
													14 | 
							
					
				| is_upgradable_addon() | 
									S  | 
																	64 | 
													4 | 
													11 | 
							
					
				| sort_data_by_price() | 
									S  | 
																	65 | 
													4 | 
													9 | 
							
					
				| get_instance() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| create_proper_packages() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| get_transient() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_route() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_packages() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| smart_upsells_transients() | 
									S  | 
																	76 | 
													1 | 
													4 |