Total Complexity | 36 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 512 |
Lines of code | 404 |
Logical lines of code | 97 |
Comment lines | 70 |
Methods | 14 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_custom_endpoints() | 32 | 1 | 182 | |
filter_pending_assignments() | 48 | 8 | 35 | |
filter_excluded_userroles() | 51 | 5 | 31 | |
filter_excluded_users_wpapi() | 59 | 5 | 14 | |
__construct() | 43 | 1 | 73 | |
filter_excluded_users() | 56 | 4 | 19 | |
filter_excluded_courses() | 57 | 3 | 17 | |
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 |