- 
		Home
	
 
	- 
Membership Plugin – Restrict Content
 
- 
3.2.15 (latest)
 
- 
Code
 
- 
Classes
 
-  Job 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											57 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											5 | 
										
																	
							 
													
								
																			
											| Total lines | 
											511 | 
										
																			
											| Lines of code | 
											180 | 
										
																			
											| Logical lines of code | 
											81 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											237 | 
										
																			
											| Methods | 
											30 | 
										
																			
											| Properties | 
											14 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 30
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| sanitize() | 
									A  | 
																	55 | 
													10 | 
													16 | 
							
					
				| validate() | 
									A  | 
																	57 | 
													8 | 
													16 | 
							
					
				| __construct() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| get_percent_complete() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| save() | 
									S  | 
																	55 | 
													2 | 
													19 | 
							
					
				| get_callback_object() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| get_data() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_status() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| get_errors() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| process_batch() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| get_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_queue() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_name() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_description() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_callback() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_total_count() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_current_count() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_total_count() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| set_current_count() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| adjust_current_count() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_step() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_step() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_status() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_date_created() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_date_completed() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| add_data() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| is_completed() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| add_error() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| has_errors() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| clear_errors() | 
									S  | 
																	81 | 
													1 | 
													3 |