- 
		Home
	
 
	- 
WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels
 
- 
2.8.7
 
- 
Code
 
- 
Classes
 
-  WF_Boxpack 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											40 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											260 | 
										
																			
											| Lines of code | 
											119 | 
										
																			
											| Logical lines of code | 
											71 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											98 | 
										
																			
											| Methods | 
											13 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 13
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| pack() | 
									A  | 
																	41 | 
													14 | 
													58 | 
							
					
				| item_sorting() | 
									S  | 
																	65 | 
													5 | 
													9 | 
							
					
				| box_sorting() | 
									S  | 
																	65 | 
													5 | 
													9 | 
							
					
				| volume_based_sorting() | 
									S  | 
																	70 | 
													3 | 
													6 | 
							
					
				| get_packages() | 
									S  | 
																	80 | 
													2 | 
													3 | 
							
					
				| order_boxes() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| order_items() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| order_by_volume() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| clear_items() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| clear_boxes() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| add_item() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| add_box() | 
									S  | 
																	72 | 
													1 | 
													5 |