-
Home
-
Free Product Sample for WooCommerce
-
2.5.1
-
Code
-
Classes
- Woo_Free_Product_Sample_Helper
| Total Complexity |
46 |
| Dependencies |
1 |
| Dependents |
0 |
| Total lines |
312 |
| Lines of code |
146 |
| Logical lines of code |
91 |
| Comment lines |
110 |
| Methods |
14 |
| Properties |
3 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| wfps_check_sample_is_in_cart() |
A |
51 |
14 |
24 |
| wfps_button_text() |
S |
56 |
5 |
16 |
| wfps_cart_total() |
S |
61 |
5 |
11 |
| wfps_tax_class() |
S |
58 |
4 |
16 |
| wfps_request_button() |
S |
59 |
3 |
14 |
| wfps_categories() |
S |
56 |
2 |
19 |
| wfps_product_type() |
S |
65 |
3 |
10 |
| wfps_sample_qty() |
S |
69 |
3 |
6 |
| wfps_shipping_class() |
S |
64 |
2 |
9 |
| wfps_settings() |
S |
79 |
1 |
3 |
| wfps_is_in_stock() |
S |
76 |
1 |
4 |
| wfps_price() |
S |
78 |
1 |
3 |
| wfps_products() |
S |
65 |
1 |
8 |
| is_pro() |
S |
80 |
1 |
3 |