Total Complexity | 39 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 620 |
Lines of code | 503 |
Logical lines of code | 103 |
Comment lines | 79 |
Methods | 14 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_custom_endpoints() | 1 | 290 | ||
filter_pending_assignments() | 48 | 8 | 35 | |
filter_excluded_userroles() | 50 | 6 | 31 | |
filter_excluded_users_wpapi() | 59 | 5 | 14 | |
__construct() | 43 | 1 | 73 | |
filter_excluded_courses() | 57 | 4 | 17 | |
filter_excluded_users() | 63 | 5 | 10 | |
get_instance() | 71 | 2 | 6 | |
set_endpoint_version() | 69 | 2 | 7 | |
get_api_version() | 80 | 1 | 3 | |
include_api_files() | 67 | 1 | 8 | |
register_hook() | 76 | 1 | 3 | |
total_revenue_data_permission_callback() | 79 | 1 | 3 | |
coursewise_revenue_data_permission_callback() | 79 | 1 | 3 |