- 
		Home
	
 
	- 
Comments – wpDiscuz
 
- 
7.2.1
 
- 
Code
 
- 
Classes
 
-  WpdiscuzCore 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											634 | 
										
																			
											| Dependencies | 
											12 | 
										
																			
											| Dependents | 
											5 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,303 | 
										
																			
											| Lines of code | 
											2,095 | 
										
																			
											| Logical lines of code | 
											1,280 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											53 | 
										
																			
											| Methods | 
											60 | 
										
																			
											| Properties | 
											20 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 60
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| addComment() | 
									D  | 
																	19  | 
													74 | 
													155 | 
							
					
				| addInlineComment() | 
									D  | 
																	27  | 
													43 | 
													111 | 
							
					
				| saveEditedComment() | 
									D  | 
																	28  | 
													40 | 
													105 | 
							
					
				| frontendFiles() | 
									D  | 
																	26  | 
													33 | 
													136 | 
							
					
				| getCommentListArgs() | 
									C  | 
																	31 | 
													31 | 
													86 | 
							
					
				| pluginNewVersion() | 
									C  | 
																	37 | 
													28 | 
													63 | 
							
					
				| getSingleComment() | 
									C  | 
																	37 | 
													24 | 
													68 | 
							
					
				| loadMoreComments() | 
									B  | 
																	43 | 
													23 | 
													39 | 
							
					
				| addNewRoles() | 
									B  | 
																	44 | 
													23 | 
													39 | 
							
					
				| deactivateAddons() | 
									B  | 
																	43 | 
													18 | 
													55 | 
							
					
				| backendFiles() | 
									B  | 
																	33 | 
													14 | 
													99 | 
							
					
				| _getWPComments() | 
									B  | 
																	38 | 
													16 | 
													67 | 
							
					
				| updateAutomatically() | 
									B  | 
																	42 | 
													17 | 
													42 | 
							
					
				| validateRecaptcha() | 
									B  | 
																	47 | 
													17 | 
													33 | 
							
					
				| hottestThread() | 
									A  | 
																	40 | 
													13 | 
													59 | 
							
					
				| changeOldOptions() | 
									A  | 
																	47 | 
													14 | 
													32 | 
							
					
				| __construct() | 
									A  | 
																	35 | 
													10 | 
													78 | 
							
					
				| feedbackDialog() | 
									A  | 
																	36 | 
													6 | 
													136 | 
							
					
				| feedbackShortcode() | 
									A  | 
																	46 | 
													12 | 
													35 | 
							
					
				| mostReactedComment() | 
									A  | 
																	42 | 
													11 | 
													48 | 
							
					
				| sorting() | 
									A  | 
																	47 | 
													10 | 
													33 | 
							
					
				| commentsClauses() | 
									A  | 
																	54 | 
													11 | 
													16 | 
							
					
				| showReplies() | 
									A  | 
																	45 | 
													9 | 
													40 | 
							
					
				| foundCommentsQuery() | 
									A  | 
																	49 | 
													9 | 
													26 | 
							
					
				| removeOldFiles() | 
									A  | 
																	54 | 
													9 | 
													20 | 
							
					
				| getDefaultCommentsArgs() | 
									A  | 
																	49 | 
													8 | 
													28 | 
							
					
				| footerContents() | 
									S  | 
																	58 | 
													8 | 
													15 | 
							
					
				| bubbleUpdate() | 
									S  | 
																	51 | 
													7 | 
													24 | 
							
					
				| getStickyComments() | 
									S  | 
																	53 | 
													7 | 
													21 | 
							
					
				| addToolbarItems() | 
									S  | 
																	42 | 
													4 | 
													65 | 
							
					
				| gutenbergButton() | 
									S  | 
																	55 | 
													6 | 
													18 | 
							
					
				| addBubble() | 
									S  | 
																	48 | 
													4 | 
													34 | 
							
					
				| pluginActivation() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| mceButton() | 
									S  | 
																	66 | 
													6 | 
													7 | 
							
					
				| mceExternalPlugin() | 
									S  | 
																	65 | 
													6 | 
													7 | 
							
					
				| shouldUpdate() | 
									S  | 
																	60 | 
													5 | 
													13 | 
							
					
				| getChildren() | 
									S  | 
																	53 | 
													4 | 
													22 | 
							
					
				| getWPComments() | 
									S  | 
																	57 | 
													4 | 
													16 | 
							
					
				| setRecaptchaOptions() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| registerJobs() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| deregisterJobs() | 
									S  | 
																	64 | 
													4 | 
													11 | 
							
					
				| commentsTemplateQueryArgs() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| addPluginOptionsPage() | 
									S  | 
																	52 | 
													2 | 
													25 | 
							
					
				| preGetComments() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| saveLastVisit() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| addNewBlog() | 
									S  | 
																	63 | 
													2 | 
													11 | 
							
					
				| getInstance() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| deleteBlog() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| setIntervals() | 
									S  | 
																	59 | 
													1 | 
													15 | 
							
					
				| mergeOptions() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| addNewPhrases() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| addPluginSettingsLink() | 
									S  | 
																	64 | 
													2 | 
													8 | 
							
					
				| initCurrentPostType() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| extraPluginHeaders() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| activateWpDiscuz() | 
									S  | 
																	78 | 
													1 | 
													4 | 
							
					
				| wpdiscuzTextDomain() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| addNewOptions() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| addContentModal() | 
									S  | 
																	78 | 
													1 | 
													4 | 
							
					
				| addCommentForm() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| registerRestRoutes() | 
									S  | 
																	75 | 
													1 | 
													4 |