Total Complexity | 49 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 292 |
Lines of code | 185 |
Logical lines of code | 119 |
Comment lines | 78 |
Methods | 12 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_vendor_caps() | 41 | 9 | 68 | |
wcmp_product_type_selector() | 60 | 5 | 13 | |
wcmp_product_type_options() | 61 | 5 | 12 | |
update_wcmp_vendor_role_capability() | 59 | 4 | 14 | |
add_sold_by_text_cart() | 60 | 4 | 11 | |
wcmp_after_add_to_cart_form() | 60 | 4 | 11 | |
__construct() | 53 | 3 | 20 | |
vendor_capabilities_settings() | 66 | 4 | 8 | |
vendor_can() | 68 | 3 | 7 | |
vendor_general_settings() | 68 | 3 | 7 | |
vendor_payment_settings() | 68 | 3 | 7 | |
wcmp_wc_product_sku_enabled() | 68 | 2 | 7 |