-
Home
-
Payment Plugins Braintree For WooCommerce
-
3.2.76
-
Code
-
Classes
- WC_Payment_Token_Braintree
| Total Complexity |
23 |
| Dependencies |
2 |
| Dependents |
4 |
| Total lines |
165 |
| Lines of code |
79 |
| Logical lines of code |
34 |
| Comment lines |
47 |
| Methods |
17 |
| Properties |
5 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_braintree_data() |
S |
58 |
4 |
16 |
| get_props_data() |
S |
62 |
3 |
11 |
| get_payment_method_title() |
S |
68 |
2 |
6 |
| to_json() |
S |
62 |
1 |
12 |
| __construct() |
S |
72 |
1 |
5 |
| set_format() |
S |
81 |
1 |
3 |
| set_payment_instrument_type() |
S |
80 |
1 |
3 |
| set_method_type() |
S |
80 |
1 |
3 |
| set_environment() |
S |
80 |
1 |
3 |
| get_method_type() |
S |
80 |
1 |
3 |
| get_format() |
S |
82 |
1 |
3 |
| get_environment() |
S |
80 |
1 |
3 |
| get_payment_instrument_type() |
S |
80 |
1 |
3 |
| get_formats() |
S |
79 |
1 |
3 |
| init_from_payment_method() |
S |
100 |
1 |
0 |
| add_meta_data_to_order() |
S |
91 |
1 |
2 |
| init_payment_formats() |
S |
100 |
1 |
0 |