YITH_WC_Dynamic_Pricing S

Total Complexity 50
Dependencies 1
Dependents 1
Total lines 311
Lines of code 144
Logical lines of code 81
Comment lines 103
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
filter_valid_rules()
A
51 13 24
get_adjusts_to_product()
A
49 10 29
apply_discount()
A
49 8 29
product_categories_validation()
A
52 8 24
plugin_fw_loader()
S
66 3 9
get_instance()
S
72 2 6
recover_pricing_rules()
S
67 2 8
get_option()
S
69 2 7
__construct()
S
74 1 4
get_pricing_rules()
S
77 1 4