WC_Payment_Token_Stripe S

Total Complexity 27
Dependencies 3
Dependents 3
Total lines 181
Lines of code 86
Logical lines of code 37
Comment lines 47
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
get_stripe_data()
S
58 4 16
get_props_data()
S
60 3 12
get_payment_method_title()
S
68 2 6
to_json()
S
62 1 12
token_exists()
S
77 1 3
save_payment_method()
S
100 1 0
delete_from_stripe()
S
100 1 0
has_expiration()
S
82 1 3
get_html_classes()
S
82 1 3
set_brand()
S
80 1 3
get_brand()
S
79 1 3
__construct()
S
75 1 4
get_formats()
S
100 1 0
details_to_props()
S
100 1 0
get_customer_id()
S
80 1 3
get_environment()
S
80 1 3
get_format()
S
82 1 3
set_customer_id()
S
80 1 3
set_environment()
S
80 1 3
set_format()
S
81 1 3
get_basic_payment_method_title()
S
82 1 3