- 
		Home
	
- 
The Events Calendar
- 
5.4.0.1
- 
Code
- 
Classes
-  Tribe__Events__Capabilities 
		
			
				
					
													
								
																			
											| Total Complexity | 23 | 
																			
											| Dependencies | 2 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 243 | 
																			
											| Lines of code | 72 | 
																			
											| Logical lines of code | 41 | 
																	
							 
													
								
																			
											| Comment lines | 105 | 
																			
											| Methods | 9 | 
																			
											| Properties | 4 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| register_post_type_caps() | A | 53 | 8 | 25 | 
					
				| remove_post_type_caps() | S | 61 | 4 | 12 | 
					
				| set_initial_caps() | S | 61 | 4 | 12 | 
					
				| remove_all_caps() | S | 67 | 2 | 8 | 
					
				| hook() | S | 78 | 1 | 3 | 
					
				| set_needs_init() | S | 79 | 1 | 3 | 
					
				| delete_needs_init() | S | 80 | 1 | 3 | 
					
				| needs_init() | S | 80 | 1 | 3 | 
					
				| get_roles() | S | 79 | 1 | 3 |