Total Complexity | 28 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 272 |
Lines of code | 160 |
Logical lines of code | 78 |
Comment lines | 41 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_activity_content() | 45 | 5 | 43 | |
add_new_course_to_activity_page() | 59 | 5 | 12 | |
add_new_enrolled_course_to_activity_page() | 59 | 5 | 12 | |
add_new_certificate_to_activity_page() | 56 | 4 | 18 | |
activity_actions() | 53 | 1 | 27 | |
__construct() | 56 | 1 | 17 | |
enable_certificate_subtab() | 79 | 2 | 3 | |
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 |