- 
		Home
	
 
	- 
Sucuri Security – Auditing, Malware Scanner and Security Hardening
 
- 
1.9.6
 
- 
Code
 
- 
Classes
 
-  SucuriScanHardening 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											49 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											460 | 
										
																			
											| Lines of code | 
											233 | 
										
																			
											| Logical lines of code | 
											125 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											145 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| buildAllowlist() | 
									S  | 
																	51 | 
													7 | 
													28 | 
							
					
				| hardenDirectory() | 
									S  | 
																	52 | 
													7 | 
													24 | 
							
					
				| allow() | 
									S  | 
																	53 | 
													6 | 
													22 | 
							
					
				| getFolderAndFilePath() | 
									S  | 
																	56 | 
													5 | 
													18 | 
							
					
				| getFilesWithNewPattern() | 
									S  | 
																	53 | 
													4 | 
													22 | 
							
					
				| unhardenDirectory() | 
									S  | 
																	56 | 
													4 | 
													16 | 
							
					
				| removeFromAllowlist() | 
									S  | 
																	58 | 
													4 | 
													14 | 
							
					
				| fixPreviousHardening() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| allowlistRule() | 
									S  | 
																	55 | 
													1 | 
													21 | 
							
					
				| isHardened() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| htaccess() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| getFiles() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| allowlistRuleLegacy() | 
									S  | 
																	60 | 
													1 | 
													14 | 
							
					
				| getRules() | 
									S  | 
																	63 | 
													1 | 
													13 | 
							
					
				| getAllowlist() | 
									S  | 
																	66 | 
													1 | 
													8 |