- 
		Home
	
 
	- 
WP Statistics – Simple, privacy-friendly Google Analytics alternative
 
- 
13.1
 
- 
Code
 
- 
Classes
 
-  WP_Statistics_Mail 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											58 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											420 | 
										
																			
											| Lines of code | 
											202 | 
										
																			
											| Logical lines of code | 
											114 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											137 | 
										
																			
											| Methods | 
											25 | 
										
																			
											| Properties | 
											15 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 25
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| renderPart() | 
									A  | 
																	46 | 
													10 | 
													39 | 
							
					
				| setAttach() | 
									S  | 
																	57 | 
													5 | 
													18 | 
							
					
				| buildHeaders() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| send() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| setTemplate() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| parseAsMustache() | 
									S  | 
																	62 | 
													4 | 
													10 | 
							
					
				| templateHeader() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| setTemplateFooter() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| setTo() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| setCc() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| setBcc() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| setHeaders() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| init() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getTo() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getCc() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getBcc() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setSubject() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getSubject() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setFrom() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getHeaders() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| HTMLFilter() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| sendAsHTML() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| setBody() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| render() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| buildSubject() | 
									S  | 
																	73 | 
													1 | 
													5 |