Total Complexity | 20 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 293 |
Lines of code | 139 |
Logical lines of code | 67 |
Comment lines | 72 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_activity_content() | 49 | 4 | 31 | |
add_new_course_to_activity_page() | 59 | 5 | 12 | |
add_new_certificate_to_activity_page() | 59 | 2 | 14 | |
activity_actions() | 53 | 1 | 27 | |
add_new_enrolled_course_to_activity_page() | 61 | 2 | 12 | |
__construct() | 58 | 1 | 15 | |
add_course_tab_content() | 73 | 1 | 5 | |
add_certificates_tab_content() | 73 | 1 | 5 | |
add_activity_post_types_visibility() | 72 | 1 | 6 | |
enable_course_activity_posts() | 70 | 1 | 6 | |
add_activity_post_types() | 70 | 1 | 6 |