-
Home
-
WPC Buy Now Button for WooCommerce
-
2.0.0
-
Code
-
Classes
- WPCleverWpcbn
Total Complexity |
93 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
594 |
Lines of code |
506 |
Logical lines of code |
301 |
Comment lines |
7 |
Methods |
22 |
Properties |
4 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
admin_menu_content() |
C |
24 |
15 |
231 |
template_redirect() |
A |
44 |
13 |
41 |
ajax_add_to_cart() |
A |
45 |
12 |
37 |
__construct() |
A |
45 |
8 |
42 |
archive_shortcode() |
S |
54 |
7 |
18 |
add_to_cart_redirect() |
S |
55 |
5 |
20 |
single_shortcode() |
S |
55 |
4 |
17 |
localization() |
S |
64 |
4 |
9 |
row_meta() |
S |
60 |
3 |
13 |
action_links() |
S |
60 |
3 |
12 |
get_setting() |
S |
65 |
3 |
8 |
enqueue_scripts() |
S |
59 |
2 |
12 |
instance() |
S |
72 |
2 |
6 |
init() |
S |
70 |
2 |
5 |
body_class() |
S |
70 |
2 |
6 |
ajax_get_checkout_form() |
S |
68 |
2 |
7 |
get_settings() |
S |
79 |
1 |
3 |
admin_enqueue_scripts() |
S |
77 |
1 |
3 |
register_settings() |
S |
77 |
1 |
4 |
admin_menu() |
S |
70 |
1 |
6 |
button_archive() |
S |
81 |
1 |
3 |
button_single() |
S |
81 |
1 |
3 |