- 
		Home
	
 
	- 
BuddyPress
 
- 
12.5.1
 
- 
Code
 
- 
Classes
 
-  BP_Messages_Thread 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											93 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											21 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,235 | 
										
																			
											| Lines of code | 
											476 | 
										
																			
											| Logical lines of code | 
											271 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											563 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											12 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_current_threads_for_user() | 
									B  | 
																	31 | 
													15 | 
													119 | 
							
					
				| get_recipients() | 
									A  | 
																	45 | 
													11 | 
													41 | 
							
					
				| get_messages() | 
									A  | 
																	46 | 
													8 | 
													40 | 
							
					
				| populate() | 
									S  | 
																	46 | 
													5 | 
													39 | 
							
					
				| exit_thread() | 
									S  | 
																	53 | 
													5 | 
													21 | 
							
					
				| update_tables() | 
									S  | 
																	54 | 
													5 | 
													20 | 
							
					
				| delete() | 
									S  | 
																	52 | 
													4 | 
													24 | 
							
					
				| get_total_threads_for_user() | 
									S  | 
																	58 | 
													4 | 
													14 | 
							
					
				| get_recipient_links() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_latest_thread_message() | 
									S  | 
																	54 | 
													3 | 
													22 | 
							
					
				| mark_as_read() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| mark_as_unread() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| check_access() | 
									S  | 
																	63 | 
													4 | 
													10 | 
							
					
				| get_inbox_count() | 
									S  | 
																	59 | 
													3 | 
													13 | 
							
					
				| is_valid() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_meta_query_sql() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| get_total_thread_message_count() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| __construct() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| user_is_sender() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| get_last_sender() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| mark_read() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| mark_unread() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_recipients_for_thread() | 
									S  | 
																	75 | 
													1 | 
													4 |