WPCPG_Condition A

Total Complexity 73
Dependencies 0
Dependents 0
Total lines 334
Lines of code 242
Logical lines of code 134
Comment lines 1
Methods 31
Properties 9

Methods 31

Method Rating Maintainability Complexity Lines of code
is_valid()
C
37 31 66
condition_is_valid()
S
52 6 23
init_operators()
S
51 3 28
prepare_float_values()
S
62 2 12
prepare_int_values()
S
62 2 12
prepare_non_numeric_values()
S
62 2 12
add_condition()
S
66 2 9
getHtml_operators()
S
69 2 7
__construct()
S
64 1 10
get_cart_value()
S
100 1 0
get_html_input()
S
100 1 0
prepare_values()
S
100 1 0
get_html_option()
S
76 1 3
getCondition_key()
S
83 1 3
getLabel()
S
83 1 3
getGroup()
S
83 1 3
getOperators()
S
83 1 3
getIs_numeric()
S
83 1 3
setCondition_key()
S
82 1 3
setLabel()
S
82 1 3
setGroup()
S
82 1 3
setOperators()
S
82 1 3
setIs_numeric()
S
82 1 3
getHas_container_operators()
S
83 1 3
setHas_container_operators()
S
82 1 3
setHtml_operators()
S
80 1 3
setCondition_assoc()
S
81 1 3
getCondition_assoc()
S
82 1 3
init_condition_assoc()
S
65 1 9
add_to_condition_assoc()
S
80 1 3
init()
S
78 1 3