Total Complexity | 55 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 399 |
Lines of code | 259 |
Logical lines of code | 115 |
Comment lines | 84 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
express_button_placement() | 40 | 16 | 56 | |
get_checkout_params() | 44 | 6 | 42 | |
express_button_script_tag() | 55 | 7 | 17 | |
enqueue_express_button() | 56 | 7 | 16 | |
enqueue_admin_script() | 51 | 4 | 28 | |
enqueue_checkout_script() | 55 | 4 | 19 | |
add_data_attributes() | 60 | 4 | 11 | |
enqueue_express_button_scripts() | 55 | 2 | 20 | |
enqueue_express_button_styles() | 63 | 2 | 12 | |
enqueue_interoperability_token() | 57 | 1 | 18 | |
__construct() | 63 | 1 | 10 | |
register_klarna_websdk() | 65 | 1 | 10 |