Code Analysis: Coupomated Connect 1.2

Function Rating Maintainability Complexity Lines of code
coupomated_sync_tax()
A
43 14 45
coupomated_create_theme_store()
A
40 13 55
coupomated_create_theme_coupon()
A
39 12 61
coupomated_call_api()
A
47 8 37
coupomated_create_coupon()
S
50 7 24
coupomated_create_stores()
S
51 7 23
coupomated_import_stores()
S
42 5 52
coupomated_import_coupons()
S
41 4 61
coupomated_clipmydeals_coupon_import()
S
55 5 17
coupomated_plugin_activate()
S
44 1 67
Coupomated_WP_Attachment_Helper::insertAttachment()
S
53 4 22
Coupomated_TaxonomyHelper::getTermIdByReference()
S
58 4 16
coupomated_test_wp_cron_status()
S
51 3 29
coupomated_log_import_status()
S
57 3 17
Coupomated_TaxonomyHelper::firstOrCreate()
S
60 3 14
coupomated_schedule_api_import()
S
62 3 12
coupomated_plugin_add_admin_menu()
S
52 1 35
Coupomated_WP_Post_Helper::firstOrCreate()
S
56 2 19
coupomated_rehub_coupon_import()
S
62 3 10
coupomated_sync_tax_sort_parent()
S
70 3 6
coupomated_add_schedule()
S
58 2 15
Coupomated_WP_Attachment_Helper::findAttachmentByImageName()
S
59 2 15
Coupomated_WP_Attachment_Helper::downloadImage()
S
68 3 7
coupomated_check_wp_cron_status_notice()
S
66 3 7
coupomated_clipmydeals_store_import()
S
55 1 19
coupomated_plugin_register_settings()
S
73 2 4
coupomated_sync_categories()
S
70 2 6
coupomated_get_next_event_runtime()
S
67 2 8
Coupomated_WP_Attachment_Helper::getOrCreateAttachment()
S
70 2 7
Coupomated_WP_Attachment_Helper::createAttachment()
S
66 2 9
coupomated_store_table_count()
S
72 1 5
coupomated_http_request_args()
S
77 1 4
coupomated_delete_coupomated_schedule()
S
82 1 3
coupomated_add_cron_test()
S
68 1 7
Coupomated_WP_Attachment_Helper::__construct()
S
74 1 5
coupomated_reprocess_stores()
S
72 1 5
coupomated_http_api_curl()
S
76 1 4
coupomated_increment_import_count()
S
71 1 5
coupomated_plugin_log_page()
S
80 1 3
coupomated_initiate_store_import_event()
S
82 1 3
coupomated_update_import_status()
S
66 1 9
coupomated_initiate_cpn_import_event()
S
82 1 3
coupomated_rehub_store_import()
S
72 1 5
coupomated_plugin_uninstall()
S
65 1 9
coupomated_coupon_table_count()
S
72 1 5
coupomated_delete_store_import_schedule()
S
82 1 3
coupomated_plugin_enqueue_styles()
S
78 1 3
coupomated_plugin_stores_page()
S
80 1 3
coupomated_reprocess_coupons()
S
72 1 5
Coupomated_TaxonomyHelper::updateTermReference()
S
79 1 3
coupomated_plugin_coupons_page()
S
80 1 3
coupomated_plugin_settings_page()
S
80 1 3