Code Analysis: Sheet Wise 1.0.1

Function Rating Maintainability Complexity Lines of code
SheetWise\ActionScheduler\Hooks::process_data()
B
39 19 61
SheetWise\Api\Integrations::update_item()
B
40 17 57
SheetWise\Api\Integrations::create_item()
A
42 12 50
SheetWise\Hooks::save_post()
S
50 7 29
SheetWise\ActionScheduler\Hooks::get_common_data()
S
51 6 29
SheetWise\Admin\GoogleSheet::get_all()
S
51 5 27
SheetWise\Hooks::user_register()
S
50 4 31
SheetWise\Hooks::wp_update_user()
S
50 4 30
SheetWise\Admin\GoogleSheet::get_rows()
S
58 5 14
SheetWise\Api\Integrations::register_routes()
S
44 1 62
SheetWise\Assets::register_scripts()
S
64 5 8
SheetWise\Assets::register_styles()
S
64 5 8
SheetWise\Hooks::get_user_values()
S
59 4 14
swise_get_data_source_events()
S
44 1 57
SheetWise\Hooks::wp_logout()
S
51 3 27
SheetWise\Hooks::delete_user()
S
52 3 26
SheetWise\Hooks::wp_login()
S
52 3 26
SheetWise\Hooks::wp_trash_post()
S
53 3 24
swise_get_common_user_data_source_events()
S
45 1 50
swise_get_common_comment_source_events()
S
45 1 50
swise_get_data_sources()
S
47 1 45
swise_get_settings_schema()
S
65 4 9
SheetWise\Admin\GoogleSheet::get_sheet_by_id()
S
62 3 12
swise_get_common_post_data_source_events()
S
48 1 42
SheetWise\Api\Integrations::get_items()
S
53 2 24
SheetWise\Api\Integrations::edit_single_row()
S
55 2 22
SheetWise\Api\Settings::update_items()
S
55 2 21
SheetWise\Admin\Menu::admin_menus()
S
54 2 21
SheetWise\Admin\GoogleSheet::get_client()
S
57 2 18
SheetWise::is_supported_php()
S
68 3 7
SheetWise\Assets::__construct()
S
73 3 4
SheetWise\Hooks::__construct()
S
67 3 7
SheetWise\Api\Integrations::delete_item()
S
59 2 14
SheetWise\Api\Integrations::get_item()
S
60 2 14
SheetWise\Api\Sheet::register_routes()
S
54 1 26
SheetWise\Api\Settings::register_routes()
S
56 1 20
SheetWise\Hooks::wp_insert_comment()
S
58 1 17
SheetWise\Hooks::edit_comment()
S
58 1 17
SheetWise\Admin\Dashboard::enqueue_scripts()
S
58 1 17
SheetWise\Assets::get_scripts()
S
58 1 17
SheetWise\Hooks::edit_post()
S
58 1 17
swise_remove_admin_notices()
S
71 2 6
SheetWise\Api::init_api()
S
71 2 6
SheetWise\Admin\Settings::enqueue_scripts()
S
59 1 15
SheetWise::__get()
S
71 2 6
SheetWise::define()
S
75 2 5
SheetWise::instance()
S
71 2 6
SheetWise\Admin\GoogleSheet::__construct()
S
71 2 6
SheetWise\Admin\Settings::remove_admin_notices()
S
71 2 6
SheetWise::__construct()
S
67 2 9
SheetWise\ActionScheduler\Hooks::__construct()
S
69 2 6
SheetWise::instantiate()
S
64 2 9
swise_require_file()
S
75 2 5
SheetWise::includes()
S
71 2 6
SheetWise\Assets::get_styles()
S
62 1 13
SheetWise\ActionScheduler\Hooks::get_results()
S
64 1 11
SheetWise\Admin\Menu::enqueue_common_scripts()
S
64 1 11
SheetWise::init_hooks()
S
75 1 4
SheetWise\Admin\Dashboard::__construct()
S
75 1 4
SheetWise\Admin\Menu::render_dashboard()
S
82 1 3
swise_rest_url()
S
81 1 3
SheetWise\Api\Integrations::error_response()
S
68 1 8
SheetWise\Exceptions\SheetWiseException::get_status_code()
S
80 1 3
SheetWise\Admin\Menu::__construct()
S
75 1 4
swise_get_post_type()
S
83 1 3
SheetWise::include_action_scheduler()
S
72 1 6
SheetWise\Admin\Menu::run_common_page_tasks()
S
79 1 3
SheetWise\Admin\Menu::dashboard_menu_action()
S
81 1 3
SheetWise\Exceptions\SheetWiseException::get_error_code()
S
81 1 3
swise_get_admin_capability()
S
80 1 3
SheetWise\Api\Sheet::get_items()
S
65 1 9
SheetWise\Api::__construct()
S
69 1 6
SheetWise\Admin\Settings::__construct()
S
75 1 4
SheetWise\Admin\Menu::render_settings()
S
82 1 3
SheetWise\Assets::register_all_scripts()
S
67 1 8
SheetWise\Exceptions\SheetWiseException::__construct()
S
76 1 4
SheetWise\Exceptions\SheetWiseException::get_message()
S
80 1 3
SheetWise\Api\Sheet::get_item_rows()
S
64 1 10
SheetWise\Admin::__construct()
S
72 1 5
SheetWise\Admin\GoogleSheet::get_service()
S
80 1 3
swise_get_supported_post_types()
S
82 1 3
swise()
S
82 1 3
SheetWise::__set()
S
80 1 3
SheetWise::define_constants()
S
66 1 8
SheetWise\Admin\Menu::settings_menu_action()
S
81 1 3
SheetWise\Api\Swise_REST_Controller::permission_check()
S
80 1 3
swise_get_hook_meta_key()
S
83 1 3
SheetWise\Api\Settings::get_items()
S
67 1 8