-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
13.5
-
Code
-
Classes
- Jetpack_Simple_Payments_Widget
Total Complexity |
79 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
594 |
Lines of code |
353 |
Logical lines of code |
156 |
Comment lines |
142 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ajax_save_payment_button() |
A |
40 |
15 |
59 |
validate_ajax_params() |
A |
51 |
11 |
22 |
__construct() |
S |
50 |
7 |
27 |
ajax_delete_payment_button() |
S |
50 |
7 |
26 |
widget() |
S |
51 |
7 |
25 |
update() |
S |
47 |
5 |
36 |
ajax_get_payment_buttons() |
S |
53 |
5 |
22 |
form() |
S |
55 |
3 |
20 |
get_product_from_post() |
S |
55 |
3 |
19 |
get_decimal_places() |
S |
67 |
3 |
7 |
record_event() |
S |
59 |
2 |
14 |
get_first_product_id() |
S |
62 |
2 |
11 |
defaults() |
S |
57 |
1 |
18 |
admin_enqueue_scripts() |
S |
59 |
1 |
17 |
get_latest_field_value() |
S |
72 |
2 |
5 |
enqueue_style() |
S |
78 |
1 |
3 |
admin_enqueue_styles() |
S |
69 |
1 |
8 |
format_product_post_for_ajax_reponse() |
S |
72 |
1 |
6 |
filter_nonces() |
S |
76 |
1 |
4 |
hide_simple_payment_widget() |
S |
77 |
1 |
4 |