-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
5.7.0
-
Code
-
Classes
- WCCS_DB_Conditions
Total Complexity |
60 |
Dependencies |
0 |
Dependents |
2 |
Total lines |
371 |
Lines of code |
212 |
Logical lines of code |
127 |
Comment lines |
100 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_conditions() |
B |
37 |
19 |
70 |
get_condition() |
A |
51 |
11 |
25 |
duplicate() |
S |
52 |
7 |
25 |
add() |
S |
55 |
7 |
19 |
update_conditions_ordering() |
S |
58 |
6 |
15 |
delete() |
S |
58 |
4 |
16 |
create_table() |
S |
61 |
1 |
14 |
__construct() |
S |
70 |
1 |
6 |
get_columns() |
S |
66 |
1 |
9 |
get_column_defaults() |
S |
82 |
1 |
3 |
count() |
S |
71 |
1 |
5 |
get_great_order() |
S |
71 |
1 |
5 |