-
Home
-
WPC Product Quantity for WooCommerce
-
5.0.4
-
Code
-
Classes
- WPCleverWoopq
Total Complexity |
290 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
1,578 |
Lines of code |
1,302 |
Logical lines of code |
733 |
Comment lines |
41 |
Methods |
51 |
Properties |
2 |
Methods 51
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
rule() |
C |
28 |
22 |
155 |
admin_menu_content() |
C |
24 |
15 |
246 |
get_max() |
B |
41 |
18 |
56 |
get_values() |
B |
37 |
16 |
70 |
add_to_cart_validation() |
B |
44 |
18 |
38 |
get_min() |
A |
42 |
15 |
50 |
bulk_update_variation() |
A |
50 |
13 |
26 |
check_roles() |
A |
48 |
12 |
35 |
get_step() |
A |
47 |
11 |
36 |
get_value() |
A |
47 |
11 |
36 |
check_apply() |
A |
49 |
11 |
31 |
get_type() |
A |
50 |
9 |
30 |
duplicate_variation() |
A |
52 |
9 |
26 |
ajax_add_rule() |
A |
53 |
8 |
21 |
product_settings() |
S |
42 |
5 |
58 |
add_to_cart_message_html() |
S |
50 |
7 |
24 |
get_quantity() |
S |
58 |
7 |
14 |
product_data_panels() |
S |
55 |
5 |
21 |
get_stock_status() |
S |
57 |
5 |
16 |
__construct() |
S |
44 |
3 |
43 |
quantity_input_args() |
S |
60 |
4 |
12 |
get_product_setting() |
S |
60 |
4 |
12 |
loop_add_to_cart_args() |
S |
62 |
4 |
12 |
ajax_search_term() |
S |
56 |
3 |
18 |
qty_in_cart() |
S |
64 |
4 |
9 |
quantity_input_step_admin() |
S |
64 |
4 |
9 |
quantity_input_min_admin() |
S |
64 |
4 |
9 |
row_meta() |
S |
60 |
3 |
13 |
action_links() |
S |
60 |
3 |
12 |
generate_key() |
S |
60 |
3 |
12 |
sanitize_array() |
S |
63 |
3 |
10 |
get_setting() |
S |
65 |
3 |
8 |
admin_enqueue_scripts() |
S |
61 |
2 |
12 |
wpcsm_locations() |
S |
56 |
1 |
17 |
save_variation_settings() |
S |
68 |
2 |
7 |
process_product_meta() |
S |
68 |
2 |
7 |
instance() |
S |
72 |
2 |
6 |
quantity_input_template() |
S |
71 |
2 |
6 |
quantity_input_step() |
S |
72 |
2 |
6 |
quantity_input_max() |
S |
72 |
2 |
6 |
quantity_input_min() |
S |
72 |
2 |
6 |
data_attributes() |
S |
67 |
2 |
7 |
variation_settings() |
S |
64 |
1 |
11 |
product_data_tabs() |
S |
68 |
1 |
7 |
get_global_setting() |
S |
75 |
1 |
4 |
before_variations_form() |
S |
68 |
1 |
7 |
clean_value() |
S |
79 |
1 |
3 |
admin_menu() |
S |
70 |
1 |
6 |
register_settings() |
S |
81 |
1 |
3 |
enqueue_scripts() |
S |
62 |
1 |
10 |
get_settings() |
S |
79 |
1 |
3 |