- 
		Home
	
- 
Comments – wpDiscuz
- 
7.6.4
- 
Code
- 
Classes
-  WpdiscuzCore 
		
			
				
					
													
								
																			
											| Total Complexity | 658 | 
																			
											| Dependencies | 14 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 2,549 | 
																			
											| Lines of code | 2,304 | 
																			
											| Logical lines of code | 1,424 | 
																	
							 
													
								
																			
											| Comment lines | 64 | 
																			
											| Methods | 64 | 
																			
											| Properties | 18 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 64
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| addComment() | D | 20 | 64 | 158 | 
					
				| saveEditedComment() | D | 24 | 47 | 135 | 
					
				| addInlineComment() | D | 27 | 39 | 115 | 
					
				| frontendFiles() | D | 26 | 34 | 136 | 
					
				| getCommentListArgs() | D | 30 | 35 | 89 | 
					
				| pluginNewVersion() | C | 35 | 31 | 72 | 
					
				| addNewRoles() | B | 43 | 24 | 39 | 
					
				| getSingleComment() | B | 37 | 22 | 67 | 
					
				| _getWPComments() | B | 35 | 20 | 83 | 
					
				| loadMoreComments() | B | 42 | 20 | 41 | 
					
				| deactivateAddons() | B | 43 | 18 | 55 | 
					
				| renderBlockWpdiscuz() | B | 41 | 17 | 52 | 
					
				| backendFiles() | B | 33 | 13 | 98 | 
					
				| getWPComments() | A | 44 | 15 | 39 | 
					
				| validateRecaptcha() | A | 47 | 15 | 33 | 
					
				| updateAutomatically() | A | 42 | 14 | 42 | 
					
				| feedbackShortcode() | A | 45 | 14 | 36 | 
					
				| changeOldOptions() | A | 47 | 14 | 32 | 
					
				| hottestThread() | A | 40 | 12 | 58 | 
					
				| feedbackDialog() | A | 36 | 6 | 136 | 
					
				| getDefaultCommentsArgs() | A | 44 | 12 | 41 | 
					
				| mostReactedComment() | A | 43 | 10 | 48 | 
					
				| __construct() | A | 36 | 7 | 76 | 
					
				| commentsClauses() | A | 54 | 11 | 16 | 
					
				| 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 | 53 | 2 | 22 | 
					
				| 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 | 
					
				| getOptions() | S | 82 | 1 | 3 | 
					
				| wpdiscuzBlockInit() | S | 77 | 1 | 3 |