Afterpay_Plugin A

Total Complexity 56
Dependencies 4
Dependents 2
Total lines 477
Lines of code 270
Logical lines of code 146
Comment lines 135
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
upgrade_complete()
A
53 12 22
init_admin_assets()
S
55 4 17
register_blocks()
S
51 3 30
init_website_assets()
S
59 3 15
generate_product_hooks()
S
59 3 14
generate_category_hooks()
S
59 3 14
shortcode_afterpay_product_logo()
S
53 2 24
__construct()
S
45 1 39
register_common_assets()
S
56 2 16
init()
S
65 3 10
register_js_lib()
S
67 3 6
activate_plugin()
S
64 3 10
add_woocommerce_blocks_support()
S
64 2 11
plugin_dependencies()
S
72 2 5
load_classes()
S
68 2 7
extend_store_api()
S
72 2 5
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