- 
		Home
	
 
	- 
WP Recipe Maker
 
- 
10.1.1 (latest)
 
- 
Code
 
- 
Classes
 
-  WPRM_Rating_Database 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											53 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											15 | 
										
																	
							 
													
								
																			
											| Total lines | 
											371 | 
										
																			
											| Lines of code | 
											190 | 
										
																			
											| Logical lines of code | 
											120 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											114 | 
										
																			
											| Methods | 
											12 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 12
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| add_or_update_rating() | 
									B  | 
																	39 | 
													23 | 
													58 | 
							
					
				| get_ratings() | 
									A  | 
																	48 | 
													12 | 
													26 | 
							
					
				| delete_ratings() | 
									S  | 
																	53 | 
													5 | 
													21 | 
							
					
				| delete_rating() | 
									S  | 
																	56 | 
													3 | 
													18 | 
							
					
				| update_database() | 
									S  | 
																	54 | 
													1 | 
													25 | 
							
					
				| check_database_version() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_rating() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| init() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_table_name() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| count_ratings() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| delete_ratings_for() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| delete_ratings_for_comment() | 
									S  | 
																	66 | 
													1 | 
													8 |