-
Home
-
Payment Plugins Braintree For WooCommerce
-
3.2.17
-
Code
-
Classes
- WC_Braintree_Meta_Box_Subscription_Order_Data
Total Complexity |
54 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
332 |
Lines of code |
234 |
Logical lines of code |
138 |
Comment lines |
72 |
Methods |
16 |
Properties |
4 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
new_order_item() |
A |
44 |
9 |
43 |
save() |
A |
49 |
7 |
32 |
delete_order_item() |
S |
54 |
5 |
22 |
validate_order_item() |
S |
56 |
5 |
18 |
get_item_total() |
S |
61 |
5 |
13 |
update_order_item() |
S |
55 |
4 |
20 |
related_orders_view() |
S |
62 |
4 |
11 |
add_subscription_props() |
S |
52 |
2 |
25 |
add_meta_boxes() |
S |
64 |
3 |
9 |
order_statuses() |
S |
70 |
2 |
6 |
is_subscription_type() |
S |
72 |
2 |
5 |
order_is_subscription() |
S |
78 |
2 |
3 |
init() |
S |
61 |
1 |
11 |
subscription_related_orders_view() |
S |
72 |
1 |
5 |
before_calculate_totals() |
S |
69 |
1 |
6 |
after_calculate_totals() |
S |
72 |
1 |
5 |