- 
		Home
	
 
	- 
Sucuri Security – Auditing, Malware Scanner and Security Hardening
 
- 
1.9.6
 
- 
Code
 
- 
Classes
 
-  SucuriScan 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											112 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											35 | 
										
																	
							 
													
								
																			
											| Total lines | 
											878 | 
										
																			
											| Lines of code | 
											415 | 
										
																			
											| Logical lines of code | 
											209 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											318 | 
										
																			
											| Methods | 
											43 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 43
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| datetime() | 
									A  | 
																	50 | 
													9 | 
													27 | 
							
					
				| humanTime() | 
									A  | 
																	46 | 
													7 | 
													38 | 
							
					
				| iniGet() | 
									S  | 
																	51 | 
													7 | 
													28 | 
							
					
				| getRemoteAddr() | 
									S  | 
																	54 | 
													7 | 
													21 | 
							
					
				| throwException() | 
									S  | 
																	58 | 
													6 | 
													15 | 
							
					
				| getIPInfo() | 
									S  | 
																	59 | 
													5 | 
													13 | 
							
					
				| siteVersion() | 
									S  | 
																	54 | 
													4 | 
													20 | 
							
					
				| getUsersForAPIKey() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| isMultiList() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| implode() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| allowedHttpHeaders() | 
									S  | 
																	53 | 
													3 | 
													25 | 
							
					
				| getHtaccessPath() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| orderedHttpHeaders() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| varPrefix() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| isValidCIDR() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| isBehindFirewall() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| noAdminInit() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| fixPath() | 
									S  | 
																	71 | 
													2 | 
													5 | 
							
					
				| dataStorePath() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| isMultiSite() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| adminURL() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getConfigPath() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| getUserAgent() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getDomain() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| getSiteEmail() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| excerpt() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| issetScanApiUrl() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| escape() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| humanFileSize() | 
									S  | 
																	62 | 
													1 | 
													9 | 
							
					
				| runAdminInit() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| secretKeyPattern() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| runScheduledTask() | 
									S  | 
																	70 | 
													1 | 
													7 | 
							
					
				| getRemoteAddrHeader() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getTopLevelDomain() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| supportReverseProxy() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| hasSucuriClientIPHeader() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getUserByID() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getAdminUsers() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| isValidIP() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| isValidEmail() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| isNginxServer() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| isIISServer() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| fileVersion() | 
									S  | 
																	77 | 
													1 | 
													3 |