- 
		Home
	
 
	- 
Product Options and Price Calculation Formulas for WooCommerce – Uni CPO
 
- 
4.9.47
 
- 
Code
 
- 
Classes
 
-  FS_Api 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											105 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											703 | 
										
																			
											| Lines of code | 
											297 | 
										
																			
											| Logical lines of code | 
											131 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											287 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											9 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| _call() | 
									B  | 
																	39 | 
													23 | 
													60 | 
							
					
				| get() | 
									A  | 
																	46 | 
													15 | 
													37 | 
							
					
				| is_ssl_error_response() | 
									A  | 
																	52 | 
													9 | 
													26 | 
							
					
				| remote_request() | 
									S  | 
																	55 | 
													6 | 
													19 | 
							
					
				| should_try_with_http() | 
									S  | 
																	59 | 
													5 | 
													15 | 
							
					
				| _init() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| get_error_code() | 
									S  | 
																	65 | 
													5 | 
													10 | 
							
					
				| is_api_error_object() | 
									S  | 
																	69 | 
													4 | 
													7 | 
							
					
				| is_api_result_object() | 
									S  | 
																	68 | 
													4 | 
													7 | 
							
					
				| _sync_clock_diff() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| instance() | 
									S  | 
																	64 | 
													3 | 
													8 | 
							
					
				| toggle_force_http() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| is_blocked() | 
									S  | 
																	69 | 
													3 | 
													7 | 
							
					
				| is_api_error() | 
									S  | 
																	75 | 
													3 | 
													4 | 
							
					
				| get_cache_key() | 
									S  | 
																	72 | 
													2 | 
													4 | 
							
					
				| is_api_result_entity() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| __construct() | 
									S  | 
																	66 | 
													1 | 
													7 | 
							
					
				| call() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_signed_url() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| is_cached() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| purge_cache() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| update_cache_expiration() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| is_temporary_down() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| get_temporary_unavailable_error() | 
									S  | 
																	64 | 
													1 | 
													10 | 
							
					
				| get_url() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| clear_cache() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| clear_force_http_flag() | 
									S  | 
																	80 | 
													1 | 
													3 |