Total Complexity | 30 |
Dependencies | 8 |
Dependents | 2 |
Total lines | 353 |
Lines of code | 220 |
Logical lines of code | 98 |
Comment lines | 95 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_endpoints() | 36 | 5 | 104 | |
intercept_for_feed_endpoint() | 45 | 7 | 43 | |
add_debug_interceptor() | 58 | 4 | 16 | |
register_motive_post_type() | 56 | 3 | 21 | |
motive_post_type_template() | 69 | 2 | 7 | |
add_cart_count_fragment() | 70 | 2 | 6 | |
preload_links() | 67 | 2 | 7 | |
enqueue_scripts() | 69 | 2 | 6 | |
__construct() | 77 | 1 | 4 | |
get_motive_post_by_title() | 79 | 1 | 3 | |
motive_permission_callback() | 79 | 1 | 3 |