- 
		Home
	
 
	- 
Razorpay for WooCommerce
 
- 
4.6.4
 
- 
Code
 
- 
Classes
 
-  Test_Class_Fuctions 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											17 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											259 | 
										
																			
											| Lines of code | 
											193 | 
										
																			
											| Logical lines of code | 
											130 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											1 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| testGenerateOrderForm() | 
									S  | 
																	43 | 
													1 | 
													51 | 
							
					
				| testReceiptPage() | 
									S  | 
																	54 | 
													1 | 
													22 | 
							
					
				| testgetErrorMessage() | 
									S  | 
																	59 | 
													1 | 
													15 | 
							
					
				| testwebhookAPI() | 
									S  | 
																	62 | 
													1 | 
													11 | 
							
					
				| testCreateRazorpayOrderIdwitwebhooktime() | 
									S  | 
																	62 | 
													1 | 
													11 | 
							
					
				| testGetRazorpayOrderId() | 
									S  | 
																	62 | 
													1 | 
													11 | 
							
					
				| testAdminOptions() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| setup() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| testrzpThankYouMessage() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| testWoocommerceAddRazorpayGateway() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| testverifySignature() | 
									S  | 
																	69 | 
													1 | 
													7 | 
							
					
				| testInvalidverifySignature() | 
									S  | 
																	69 | 
													1 | 
													7 | 
							
					
				| testCreateRazorpayOrderId() | 
									S  | 
																	64 | 
													1 | 
													10 | 
							
					
				| testGenerateRazorpayFormException() | 
									S  | 
																	65 | 
													1 | 
													9 | 
							
					
				| testGetShippingZone() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| testGetDescription() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| testProcessPayment() | 
									S  | 
																	68 | 
													1 | 
													7 |