- 
		Home
	
- 
Comments – wpDiscuz
- 
7.3.2
- 
Code
- 
Classes
-  WpdiscuzHelperOptimization 
		
			
				
					
													
								
																			
											| Total Complexity | 80 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 276 | 
																			
											| Lines of code | 230 | 
																			
											| Logical lines of code | 146 | 
																	
							 
													
								
																			
											| Comment lines | 18 | 
																			
											| Methods | 20 | 
																			
											| Properties | 4 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| cleanAllCaches() | A | 46 | 13 | 39 | 
					
				| cleanPostCache() | A | 49 | 10 | 31 | 
					
				| getCommentRoot() | A | 54 | 10 | 21 | 
					
				| onProfileUpdate() | S | 61 | 7 | 11 | 
					
				| notifyOnApprove() | S | 54 | 6 | 19 | 
					
				| getTreeByParentId() | S | 62 | 5 | 11 | 
					
				| removeVoteData() | S | 66 | 4 | 7 | 
					
				| resetPhrases() | S | 68 | 4 | 6 | 
					
				| statusEventHandler() | S | 65 | 3 | 9 | 
					
				| getCommentDepth() | S | 65 | 3 | 9 | 
					
				| deleteUserRelatedData() | S | 65 | 3 | 9 | 
					
				| __construct() | S | 53 | 1 | 21 | 
					
				| optionUpdated() | S | 71 | 2 | 5 | 
					
				| pluginDeactivated() | S | 69 | 2 | 6 | 
					
				| cleanCommentRelatedRows() | S | 69 | 2 | 7 | 
					
				| commentEdited() | S | 79 | 1 | 3 | 
					
				| actionsOnUpdatedPost() | S | 80 | 1 | 3 | 
					
				| actionsOnDeletedPost() | S | 73 | 1 | 5 | 
					
				| bpAvatarUploaded() | S | 74 | 1 | 4 | 
					
				| wpfProfileUpdate() | S | 73 | 1 | 4 |