- 
		Home
	
 
	- 
UPI QR Code Payment Gateway for WooCommerce
 
- 
1.2.4
 
- 
Code
 
- 
Classes
 
-  WC_UPI_Payment_Gateway 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											119 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											821 | 
										
																			
											| Lines of code | 
											571 | 
										
																			
											| Logical lines of code | 
											234 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											161 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| generate_qr_code() | 
									C  | 
																	31 | 
													26 | 
													100 | 
							
					
				| init_form_fields() | 
									A  | 
																	28  | 
													1 | 
													191 | 
							
					
				| validate_fields() | 
									A  | 
																	54 | 
													11 | 
													19 | 
							
					
				| admin_list_column_content() | 
									A  | 
																	48 | 
													10 | 
													33 | 
							
					
				| payment_fields() | 
									A  | 
																	41 | 
													8 | 
													45 | 
							
					
				| process_payment() | 
									A  | 
																	50 | 
													8 | 
													25 | 
							
					
				| capture_payment() | 
									A  | 
																	50 | 
													8 | 
													25 | 
							
					
				| email_instructions() | 
									S  | 
																	68 | 
													7 | 
													5 | 
							
					
				| custom_checkout_url() | 
									S  | 
																	68 | 
													6 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	42 | 
													2 | 
													49 | 
							
					
				| on_hold_payment() | 
									S  | 
																	68 | 
													5 | 
													6 | 
							
					
				| email_subject_pending_order() | 
									S  | 
																	69 | 
													4 | 
													6 | 
							
					
				| email_heading_pending_order() | 
									S  | 
																	69 | 
													4 | 
													6 | 
							
					
				| email_additional_content_pending_order() | 
									S  | 
																	68 | 
													4 | 
													6 | 
							
					
				| disable_gateway() | 
									S  | 
																	69 | 
													4 | 
													6 | 
							
					
				| payment_scripts() | 
									S  | 
																	58 | 
													3 | 
													14 | 
							
					
				| order_received_text() | 
									S  | 
																	70 | 
													3 | 
													6 | 
							
					
				| admin_options() | 
									S  | 
																	63 | 
													2 | 
													13 | 
							
					
				| is_valid_for_use() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| admin_list_column() | 
									S  | 
																	75 | 
													1 | 
													4 |