- 
		Home
	
 
	- 
Comments – wpDiscuz
 
- 
7.3.15
 
- 
Code
 
- 
Classes
 
-  WpdiscuzCore 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											620 | 
										
																			
											| Dependencies | 
											13 | 
										
																			
											| Dependents | 
											5 | 
										
																	
							 
													
								
																			
											| Total lines | 
											2,424 | 
										
																			
											| Lines of code | 
											2,208 | 
										
																			
											| Logical lines of code | 
											1,358 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											55 | 
										
																			
											| Methods | 
											61 | 
										
																			
											| Properties | 
											18 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 61
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| addComment() | 
									D  | 
																	20  | 
													64 | 
													158 | 
							
					
				| addInlineComment() | 
									D  | 
																	27  | 
													39 | 
													114 | 
							
					
				| saveEditedComment() | 
									D  | 
																	28  | 
													39 | 
													107 | 
							
					
				| frontendFiles() | 
									D  | 
																	26  | 
													34 | 
													137 | 
							
					
				| getCommentListArgs() | 
									D  | 
																	30 | 
													35 | 
													89 | 
							
					
				| pluginNewVersion() | 
									C  | 
																	35 | 
													30 | 
													69 | 
							
					
				| addNewRoles() | 
									B  | 
																	43 | 
													24 | 
													39 | 
							
					
				| getSingleComment() | 
									B  | 
																	37 | 
													22 | 
													67 | 
							
					
				| loadMoreComments() | 
									B  | 
																	42 | 
													20 | 
													41 | 
							
					
				| _getWPComments() | 
									B  | 
																	36 | 
													17 | 
													83 | 
							
					
				| deactivateAddons() | 
									B  | 
																	43 | 
													18 | 
													55 | 
							
					
				| backendFiles() | 
									B  | 
																	33 | 
													13 | 
													98 | 
							
					
				| validateRecaptcha() | 
									A  | 
																	47 | 
													15 | 
													33 | 
							
					
				| updateAutomatically() | 
									A  | 
																	42 | 
													14 | 
													42 | 
							
					
				| changeOldOptions() | 
									A  | 
																	47 | 
													14 | 
													32 | 
							
					
				| hottestThread() | 
									A  | 
																	40 | 
													12 | 
													58 | 
							
					
				| feedbackDialog() | 
									A  | 
																	36 | 
													6 | 
													136 | 
							
					
				| getDefaultCommentsArgs() | 
									A  | 
																	44 | 
													12 | 
													41 | 
							
					
				| feedbackShortcode() | 
									A  | 
																	46 | 
													12 | 
													35 | 
							
					
				| mostReactedComment() | 
									A  | 
																	43 | 
													10 | 
													48 | 
							
					
				| getWPComments() | 
									A  | 
																	47 | 
													10 | 
													31 | 
							
					
				| commentsClauses() | 
									A  | 
																	54 | 
													11 | 
													16 | 
							
					
				| __construct() | 
									A  | 
																	36 | 
													7 | 
													75 | 
							
					
				| addToolbarItems() | 
									A  | 
																	38 | 
													6 | 
													88 | 
							
					
				| uninstall() | 
									A  | 
																	43 | 
													8 | 
													48 | 
							
					
				| foundCommentsQuery() | 
									A  | 
																	49 | 
													9 | 
													26 | 
							
					
				| removeOldFiles() | 
									A  | 
																	54 | 
													9 | 
													20 | 
							
					
				| showReplies() | 
									A  | 
																	44 | 
													7 | 
													43 | 
							
					
				| sorting() | 
									A  | 
																	48 | 
													7 | 
													33 | 
							
					
				| footerContents() | 
									S  | 
																	58 | 
													8 | 
													15 | 
							
					
				| getStickyComments() | 
									S  | 
																	53 | 
													7 | 
													21 | 
							
					
				| gutenbergButton() | 
									S  | 
																	55 | 
													6 | 
													18 | 
							
					
				| bubbleUpdate() | 
									S  | 
																	52 | 
													5 | 
													24 | 
							
					
				| addBubble() | 
									S  | 
																	48 | 
													4 | 
													34 | 
							
					
				| pluginActivation() | 
									S  | 
																	58 | 
													5 | 
													16 | 
							
					
				| mceButton() | 
									S  | 
																	66 | 
													6 | 
													7 | 
							
					
				| mceExternalPlugin() | 
									S  | 
																	65 | 
													6 | 
													7 | 
							
					
				| shouldUpdate() | 
									S  | 
																	60 | 
													5 | 
													13 | 
							
					
				| getChildren() | 
									S  | 
																	52 | 
													4 | 
													25 | 
							
					
				| setRecaptchaOptions() | 
									S  | 
																	59 | 
													4 | 
													13 | 
							
					
				| 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 | 
							
					
				| registerJobs() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| deregisterJobs() | 
									S  | 
																	74 | 
													2 | 
													5 | 
							
					
				| mergeOptions() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| addNewPhrases() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| initCurrentPostType() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| extraPluginHeaders() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| activateWpDiscuz() | 
									S  | 
																	78 | 
													1 | 
													4 | 
							
					
				| wpdiscuzTextDomain() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| setIntervals() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| addNewOptions() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| addPluginSettingsLink() | 
									S  | 
																	69 | 
													1 | 
													5 | 
							
					
				| addContentModal() | 
									S  | 
																	78 | 
													1 | 
													4 | 
							
					
				| addCommentForm() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| registerRestRoutes() | 
									S  | 
																	75 | 
													1 | 
													4 |