Afterpay_Plugin A

Total Complexity 58
Dependencies 4
Dependents 2
Total lines 501
Lines of code 300
Logical lines of code 159
Comment lines 140
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
upgrade_complete()
A
54 12 20
shortcode_afterpay_product_logo()
S
45 4 44
init_admin_assets()
S
53 4 22
register_blocks()
S
51 3 30
init_website_assets()
S
59 3 15
generate_product_hooks()
S
60 3 13
generate_category_hooks()
S
60 3 13
__construct()
S
45 1 41
register_common_assets()
S
54 2 21
init()
S
65 3 10
register_js_lib()
S
66 3 7
activate_plugin()
S
64 3 10
add_woocommerce_blocks_support()
S
64 2 11
plugin_dependencies()
S
72 2 5
load_classes()
S
69 2 7
extend_store_api()
S
70 2 6
uninstall_plugin()
S
74 2 5
deactivate_plugin()
S
69 2 7
filter_action_links()
S
69 1 6
admin_notice_dependency_error()
S
71 1 7