- 
		Home
	
 
	- 
LearnPress – WordPress LMS Plugin
 
- 
4.2.6.9.1
 
- 
Code
 
- 
Classes
 
-  LP_Course_Item 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											74 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											11 | 
										
																	
							 
													
								
																			
											| Total lines | 
											634 | 
										
																			
											| Lines of code | 
											302 | 
										
																			
											| Logical lines of code | 
											158 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											226 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_class_v2() | 
									B  | 
																	38 | 
													15 | 
													78 | 
							
					
				| get_item() | 
									A  | 
																	46 | 
													11 | 
													39 | 
							
					
				| get_class() | 
									S  | 
																	50 | 
													5 | 
													28 | 
							
					
				| get_status_title() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| get_duration() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| create_nonce() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| get_item_type() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| is_preview() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| verify_nonce() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| get_format() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_permalink() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| set_course() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| get_course_id() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| to_array() | 
									S  | 
																	62 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_icon_class() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_title() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_visible() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_course() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_section() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_section() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_template() | 
									S  | 
																	67 | 
													1 | 
													8 | 
							
					
				| get_nonce_action() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| offsetExists() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetGet() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetSet() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| offsetUnset() | 
									S  | 
																	91 | 
													1 | 
													2 |