- 
		Home
	
- 
Comments – wpDiscuz
- 
7.6.4
- 
Code
- 
Classes
-  WpdiscuzOptions 
		
			
				
					
													
								
																			
											| Total Complexity | 867 | 
																			
											| Dependencies | 6 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 4,112 | 
																			
											| Lines of code | 3,922 | 
																			
											| Logical lines of code | 1,418 | 
																	
							 
													
								
																			
											| Comment lines | 111 | 
																			
											| Methods | 37 | 
																			
											| Properties | 27 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 37
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| saveOptions() | D | 0 | 267 | 266 | 
					
				| initOptions() | D | 0 | 223 | 230 | 
					
				| replaceOldOptions() | D | 0 | 174 | 439 | 
					
				| settingsArray() | D | 3 | 3 | 1,469 | 
					
				| regenerateMessage() | B | 36 | 22 | 82 | 
					
				| resetOptions() | B | 39 | 20 | 58 | 
					
				| tools() | B | 42 | 19 | 47 | 
					
				| addEmailTemplates() | B | 50 | 19 | 22 | 
					
				| savePhrases() | B | 24 | 6 | 216 | 
					
				| getDefaultOptions() | B | 23 | 3 | 255 | 
					
				| toArray() | A | 23 | 1 | 256 | 
					
				| isShowLoginButtons() | A | 72 | 16 | 3 | 
					
				| saveAndResetOptionsAndPhrases() | A | 44 | 13 | 40 | 
					
				| getOptionsForJs() | A | 32 | 8 | 107 | 
					
				| initPhrases() | A | 24 | 1 | 204 | 
					
				| getOption() | A | 54 | 10 | 21 | 
					
				| showEditorToolbar() | A | 74 | 11 | 3 | 
					
				| exportOptionsOrPhrases() | A | 49 | 8 | 31 | 
					
				| editorOptions() | S | 53 | 5 | 23 | 
					
				| getSizeInBytes() | S | 55 | 5 | 20 | 
					
				| isShareEnabled() | S | 77 | 4 | 3 | 
					
				| __construct() | S | 49 | 2 | 27 | 
					
				| getPhrase() | S | 63 | 3 | 10 | 
					
				| initPhrasesOnLoad() | S | 66 | 3 | 8 | 
					
				| initGoodbyeCaptchaField() | S | 66 | 3 | 9 | 
					
				| printDocLink() | S | 71 | 3 | 5 | 
					
				| addonActivationMessages() | S | 63 | 2 | 12 | 
					
				| mainOptionsForm() | S | 69 | 2 | 6 | 
					
				| phrasesOptionsForm() | S | 67 | 2 | 7 | 
					
				| adminNotices() | S | 72 | 2 | 6 | 
					
				| getDefaultFileTypes() | S | 59 | 1 | 15 | 
					
				| getOptions() | S | 70 | 1 | 6 | 
					
				| updateOptions() | S | 80 | 1 | 3 | 
					
				| addOptions() | S | 80 | 1 | 3 | 
					
				| initFormRelations() | S | 75 | 1 | 4 | 
					
				| getDefaultImageSizes() | S | 79 | 1 | 3 | 
					
				| dashboard() | S | 80 | 1 | 3 |