Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Exceptions\Rate_Limit_Exception0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Payments\Bitcoin_Transaction0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Addresses_Generation_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Check_Assigned_Addresses_For_Transactions_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Ensure_Unused_Addresses_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Update_Address_Transactions_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Update_Exchange_Rate_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Wallet\Bitcoin_Wallet0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Wallet_Factory0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Queries\Bitcoin_Address_Query0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Queries\Bitcoin_Transaction_Query0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Results\Check_Address_For_Payment_Service_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Results\Exchange_Rate_Service_Result0%
BrianHenryIE\WP_Bitcoin_Gateway\Frontend\Blocks\Bitcoin_Image_Block0%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Blocks\Bitcoin_Order_Confirmation_Block0%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Checkout0%
BrianHenryIE\WP_Bitcoin_Gateway\WP_Includes\CLI0%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Details_Formatter8%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Transaction_Factory11%
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Wallet\Bitcoin_Address12%
BrianHenryIE\WP_Bitcoin_Gateway\API\API19%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Bitcoin_Transaction_Repository23%
BrianHenryIE\WP_Bitcoin_Gateway\API\Helpers\Wallet\Nimq_API25%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Model\WC_Bitcoin_Order28%
BrianHenryIE\WP_Bitcoin_Gateway\API\Settings32%
BrianHenryIE\WP_Bitcoin_Gateway\Admin\Addresses_List_Table35%
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Bitcoin_Wallet_Service35%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\WooCommerce_Integration38%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\My_Account_View_Order43%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Thank_You43%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Payment_Gateways46%
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Blockchain\Blockchain_Info_Api50%
BrianHenryIE\WP_Bitcoin_Gateway\Admin\Plugins_Page56%
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Blockchain\Blockstream_Info_API60%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Queries\WP_Post_Query_Abstract61%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Bitcoin_Gateway63%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\API_WooCommerce65%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Address_Factory72%
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Payment_Service72%
BrianHenryIE\WP_Bitcoin_Gateway\Action_Scheduler\Background_Jobs_Scheduler74%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\AJAX76%
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Exchange_Rate\Bitstamp_API76%
BrianHenryIE\WP_Bitcoin_Gateway\BH_WP_Bitcoin_Gateway78%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Admin_Order_UI80%
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Exchange_Rate\Bitfinex_API83%
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\WP_Post_Repository_Abstract83%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Helpers\WC_Order_Meta_Helper83%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Frontend_Assets85%
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Exchange_Rate_Service86%
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\HPOS87%
BrianHenryIE\WP_Bitcoin_Gateway\Action_Scheduler\Background_Jobs_Actions_Handler87%
BrianHenryIE\WP_Bitcoin_Gateway\WP_Includes\Post_BH_Bitcoin_Address88%

Project Risks

Class CRAP
BrianHenryIE\WP_Bitcoin_Gateway\API\API1156
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Blocks\Bitcoin_Order_Confirmation_Block650
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Details_Formatter538
BrianHenryIE\WP_Bitcoin_Gateway\Admin\Addresses_List_Table358
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Bitcoin_Wallet_Service251
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Wallet\Bitcoin_Address165
BrianHenryIE\WP_Bitcoin_Gateway\WP_Includes\CLI132
BrianHenryIE\WP_Bitcoin_Gateway\API\Settings119
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Wallet_Factory110
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Bitcoin_Gateway107
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Bitcoin_Transaction_Repository88
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\API_WooCommerce67
BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Results\Update_Address_Transactions_Result56
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Queries\Bitcoin_Transaction_Query56
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Model\WC_Bitcoin_Order46
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Checkout42
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Address_Factory39
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Frontend_Assets27
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Payment_Service22
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Factories\Bitcoin_Transaction_Factory22
BrianHenryIE\WP_Bitcoin_Gateway\Action_Scheduler\Background_Jobs_Scheduler21
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Helpers\WC_Order_Meta_Helper21
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Admin_Order_UI19
BrianHenryIE\WP_Bitcoin_Gateway\Admin\Plugins_Page18
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\Queries\WP_Post_Query_Abstract15
BrianHenryIE\WP_Bitcoin_Gateway\API\Services\Exchange_Rate_Service14
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Blockchain\Blockstream_Info_API13
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\AJAX13
BrianHenryIE\WP_Bitcoin_Gateway\Frontend\Blocks\Bitcoin_Image_Block12
BrianHenryIE\WP_Bitcoin_Gateway\Action_Scheduler\Background_Jobs_Actions_Handler11
BrianHenryIE\WP_Bitcoin_Gateway\BH_WP_Bitcoin_Gateway10
BrianHenryIE\WP_Bitcoin_Gateway\API\Repositories\WP_Post_Repository_Abstract7
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\My_Account_View_Order6
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Thank_You6
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\Payment_Gateways6
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Exchange_Rate\Bitstamp_API5
BrianHenryIE\WP_Bitcoin_Gateway\WP_Includes\Post_BH_Bitcoin_Address5
BrianHenryIE\WP_Bitcoin_Gateway\API\Clients\Exchange_Rate\Bitfinex_API4
BrianHenryIE\WP_Bitcoin_Gateway\Integrations\WooCommerce\HPOS3

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
ensure_unused_addresses0%
schedule_single_ensure_unused_addresses0%
get_columns0%
get_bitcoin_address_object0%
get_bitcoin_wallet_object0%
column_status0%
column_order_id0%
column_transactions_count0%
column_received0%
column_gateways0%
edit_row_actions0%
__construct0%
add_orders_action_link0%
get_exchange_rate0%
get_or_save_wallet_for_master_public_key0%
is_unused_address_available_for_wallet0%
generate_new_addresses0%
ensure_unused_addresses0%
generate_new_addresses_for_wallet0%
check_assigned_addresses_for_payment0%
check_address_for_payment0%
maybe_fire_new_transactions_seen_action0%
maybe_mark_address_as_paid0%
maybe_fire_mark_address_paid_action0%
get_saved_transactions0%
get_plugin_slug0%
get_plugin_basename0%
is_valid_version_string0%
get_plugin_url0%
get_plugin_dir0%
__construct0%
get_api0%
get_blockchain_height0%
get_blockchain_height0%
generate_address0%
__construct0%
get_reset_time0%
__construct0%
get_post_id0%
get_txid0%
get_block_time0%
get_block_height0%
get_version0%
get_v_in0%
get_v_out0%
__construct0%
get_highest_address_index0%
__construct0%
__construct0%
get_unused_addresses0%
__construct0%
get_new_transactions0%
is_updated0%
is_unused0%
__construct0%
get_post_id0%
get_wallet_parent_post_id0%
get_derivation_path_sequence_number0%
get_raw_address0%
get_status0%
get_order_id0%
get_target_amount0%
get_tx_ids0%
get_modified_time0%
get_integration_id0%
was_checked_recently0%
__construct0%
get_post_id0%
get_status0%
get_xpub0%
get_address_index0%
get_associated_gateways_details0%
get_by_wp_post0%
get_by_post_id0%
get_post_by_transaction_id0%
save_new0%
associate_bitcoin_address_post_ids_to_transaction0%
get_by_wp_post_id0%
get_by_wp_post0%
get_integration_id_from_post_meta0%
get_by_wp_post_id0%
get_by_wp_post0%
get_by_wp_post_id0%
get_by_wp_post0%
get_address_index0%
get_gateways_from_meta0%
get_post_type0%
get_wp_post_fields0%
get_meta_input0%
__construct0%
get_post_type0%
get_wp_post_fields0%
get_meta_input0%
__construct0%
__construct0%
get_wp_post_fields0%
get_valid_keys0%
get_or_save_wallet_for_xpub0%
has_gateway_recorded0%
get_wallet_by_wp_post_id0%
get_all_wallets0%
generate_new_addresses0%
get_assigned_bitcoin_addresses0%
refresh_address0%
get_unused_bitcoin_addresses0%
has_unused_bitcoin_address0%
get_unknown_bitcoin_addresses0%
set_payment_address_status0%
assign_order_to_bitcoin_payment_address0%
has_assigned_bitcoin_addresses0%
get_saved_address_by_bitcoin_payment_address0%
check_address_for_payment0%
get_value_for_transaction0%
__construct0%
is_paid0%
__construct0%
define_cli_commands0%
__construct0%
add_bitcoin_image_variation0%
__construct0%
register_block0%
render_block0%
get_order_details_formatted_array0%
get_order0%
detect_order_id0%
add_order_id_context0%
is_hpos_enabled0%
get_order_id0%
is_user_authorized0%
check_order_for_payment0%
mark_order_paid0%
add_order_note_for_transactions0%
get_formatted_order_details0%
get_formatted_exchange_rate_string0%
is_site_using_full_site_editing0%
get_formatted_link_to_order_confirmation_edit0%
get_xpub0%
get_price_margin_percent0%
__construct0%
ensure_one_address_for_payment0%
get_btc_total_formatted0%
format_money_to_bitcoin0%
get_btc_exchange_rate_formatted0%
get_last_checked_time_formatted0%
get_btc_address_derivation_path_sequence_number0%
get_exchange_rate_url0%
get_btc_amount_received_formatted0%
get_friendly_status0%
to_array0%
camel_case_keys0%
as_camel_case0%
get_order_id_from_globals0%
__construct0%
register_woocommerce_block_checkout_support0%
__construct0%
register_hooks0%
define_template_hooks0%
define_thank_you_hooks0%
define_my_account_hooks0%
define_address_list_table_hooks0%
__construct0%
get_wc_order0%
get_last_checked_time0%
get_gateway0%
__construct0%
generate_new_addresses0%
check_transactions0%
__construct0%
add_post_statuses0%
process_admin_options29%
print_status_instructions40%
print_instructions40%
check_new_addresses_for_transactions42%
get_exchange_rate45%
process_payment47%
check_addresses_for_transactions52%
append_gateway_details60%
is_order_has_bitcoin_gateway66%
is_available66%
get_btc_total_price66%
get_exchange_rate66%
get_confirmed_amount_received66%
__call66%
get_transactions_received69%
check_assigned_addresses_for_transactions70%
get_exchange_rate75%
get_saved_transactions75%
is_unused_address_available_for_gateway75%
get_method_description75%
get_plugin_version80%
is_bitcoin_gateway80%
get_exchange_rate81%
update83%
update_exchange_rate84%
column_wallet85%
save_post85%
declare_compatibility85%
init_form_fields87%
split_author_link_into_two_links87%
register_address_transactions_meta_box87%
get_bitcoin_gateways87%
enqueue_styles87%

Project Risks

Method CRAP
ensure_unused_addresses210
column_gateways182
check_transactions90
detect_order_id56
render_block30
get_order_id30
ensure_one_address_for_payment30
get_last_checked_time_formatted30
get_order_id_from_globals30
get_columns20
get_new_transactions20
associate_bitcoin_address_post_ids_to_transaction20
get_gateways_from_meta20
get_wp_post_fields20
get_or_save_wallet_for_xpub20
add_order_id_context20
is_user_authorized20
get_xpub20
get_friendly_status20
process_admin_options13
add_orders_action_link12
maybe_mark_address_as_paid12
get_plugin_basename12
get_plugin_url12
get_plugin_dir12
get_blockchain_height12
get_post_by_transaction_id12
get_by_wp_post_id12
get_integration_id_from_post_meta12
get_by_wp_post_id12
get_by_wp_post_id12
define_cli_commands12
register_block12
get_order12
get_formatted_exchange_rate_string12
get_gateway12
add_post_statuses12
is_available10
check_addresses_for_transactions9
get_exchange_rate9
update7
process_payment6
schedule_single_ensure_unused_addresses6
column_order_id6
column_transactions_count6
edit_row_actions6
get_or_save_wallet_for_master_public_key6
is_unused_address_available_for_wallet6
check_assigned_addresses_for_payment6
maybe_fire_new_transactions_seen_action6
maybe_fire_mark_address_paid_action6
get_saved_transactions6
get_order_id6
get_address_index6
has_gateway_recorded6
generate_new_addresses6
has_unused_bitcoin_address6
get_saved_address_by_bitcoin_payment_address6
get_value_for_transaction6
add_bitcoin_image_variation6
get_order_details_formatted_array6
is_hpos_enabled6
mark_order_paid6
is_site_using_full_site_editing6
get_price_margin_percent6
get_btc_total_formatted6
get_btc_exchange_rate_formatted6
get_exchange_rate_url6
to_array6
camel_case_keys6
register_woocommerce_block_checkout_support6
get_last_checked_time6
is_order_has_bitcoin_gateway5
get_transactions_received5
get_bitcoin_gateways5
print_status_instructions4
print_instructions4
get_exchange_rate4
get_plugin_version4
is_bitcoin_gateway4
split_author_link_into_two_links4
register_address_transactions_meta_box4
init_form_fields4
get_btc_total_price3
get_exchange_rate3
get_confirmed_amount_received3
check_assigned_addresses_for_transactions3
get_method_description3
get_exchange_rate3
column_wallet3
save_post3
enqueue_styles3
check_new_addresses_for_transactions2
__call2
get_saved_transactions2
is_unused_address_available_for_gateway2
update_exchange_rate2
declare_compatibility2