-
Home
-
Discount Rules for WooCommerce
-
2.3.8
-
Code
-
Classes
- FlycartWoocommerceProduct
| Total Complexity |
110 |
| Dependencies |
4 |
| Dependents |
5 |
| Total lines |
519 |
| Lines of code |
275 |
| Logical lines of code |
167 |
| Comment lines |
182 |
| Methods |
25 |
| Properties |
5 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getUserAjaxSelectBox() |
A |
46 |
12 |
33 |
| getProductAjaxSelectBox() |
A |
47 |
12 |
31 |
| get_category_ids() |
A |
53 |
8 |
22 |
| is_product_is_on_sale() |
A |
56 |
8 |
18 |
| get_price() |
S |
57 |
6 |
17 |
| get_title() |
S |
59 |
6 |
15 |
| get_parent_id() |
S |
61 |
6 |
12 |
| get_children() |
S |
59 |
5 |
14 |
| wc_get_product() |
S |
61 |
5 |
12 |
| get_permalink() |
S |
64 |
5 |
9 |
| get_product_category_by_id() |
S |
58 |
4 |
15 |
| get_variant_ids() |
S |
60 |
4 |
13 |
| get_id() |
S |
64 |
4 |
9 |
| get_formatted_name() |
S |
65 |
3 |
8 |
| wc_strtoupper() |
S |
69 |
2 |
7 |
| wc_price() |
S |
77 |
2 |
3 |
| get_price_html() |
S |
78 |
2 |
3 |
| get_name() |
S |
78 |
2 |
3 |
| get_regular_price() |
S |
72 |
2 |
5 |
| get_sale_price() |
S |
78 |
2 |
3 |
| set_price() |
S |
69 |
2 |
7 |
| get_price_including_tax() |
S |
76 |
2 |
3 |
| get_price_excluding_tax() |
S |
76 |
2 |
3 |
| get_attributes() |
S |
78 |
2 |
3 |
| variation_is_visible_in_frontend() |
S |
68 |
2 |
7 |