Code Analysis: KAF WP Connector 1.0.0

Function Rating Maintainability Complexity Lines of code
KAF_Content::update_description()
C
32 25 104
KAF_Content::update_title()
B
37 16 76
KAF_Content::create_content()
B
43 16 46
KAF_API::register_rest_routes()
A
32 1 159
KAF_Media::upload_media()
S
45 6 42
KAF_Content::update_content()
S
48 6 37
KAF_Content::create_category()
S
52 5 25
KAF_Content::change_status()
S
52 3 27
KAF_Admin::admin_page()
S
58 2 22
KAF_Content::get_categories()
S
56 2 19
KAF_API::check_api_permission()
S
66 3 8
KAF_Connector::enqueue_scripts()
S
63 2 10
KAF_Admin::verify_connection()
S
64 2 10
KAF_API::get_site_info()
S
60 1 13
KAF_Connector::register_settings()
S
64 1 11
KAF_Connector::__construct()
S
64 1 9
KAF_API::__construct()
S
75 1 4
KAF_Media::__construct()
S
81 1 3
KAF_Admin::__construct()
S
70 1 6
KAF_Admin::add_admin_menu()
S
66 1 10
KAF_Admin::disconnect()
S
73 1 5
KAF_API::verify_api_connection()
S
65 1 9
KAF_Content::__construct()
S
81 1 3