- 
		Home
	
 
	- 
Brizy – Page Builder
 
- 
2.4.7
 
- 
Code
 
- 
Classes
 
-  Brizy_Admin_Rule 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											122 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											12 | 
										
																	
							 
													
								
																			
											| Total lines | 
											507 | 
										
																			
											| Lines of code | 
											265 | 
										
																			
											| Logical lines of code | 
											125 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											132 | 
										
																			
											| Methods | 
											24 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| isMatching() | 
									D  | 
																	30 | 
													53 | 
													90 | 
							
					
				| getRuleWeight() | 
									A  | 
																	47 | 
													15 | 
													38 | 
							
					
				| createFromSerializedData() | 
									A  | 
																	60 | 
													9 | 
													12 | 
							
					
				| createFromRequestData() | 
									S  | 
																	60 | 
													7 | 
													12 | 
							
					
				| createFromJsonObject() | 
									S  | 
																	61 | 
													7 | 
													12 | 
							
					
				| getRuleMode() | 
									S  | 
																	61 | 
													5 | 
													12 | 
							
					
				| isEqual() | 
									S  | 
																	67 | 
													5 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| setAppliedFor() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getEntityValues() | 
									S  | 
																	67 | 
													2 | 
													9 | 
							
					
				| setEntityValues() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| jsonSerialize() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| filter() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getId() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setId() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getType() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| setType() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getAppliedFor() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getEntityType() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEntityType() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| convertToOptionValue() | 
									S  | 
																	64 | 
													1 | 
													10 | 
							
					
				| serialize() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getEntitiesAsString() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| generateId() | 
									S  | 
																	77 | 
													1 | 
													3 |