Code Analysis: Product Specifications for WooCommerce 0.7.1

Function Rating Maintainability Complexity Lines of code
Amiut\ProductSpecs\Admin\Ajax::modify_attributes()
D
25
52 143
Amiut\ProductSpecs\Admin\Ajax::modify_groups()
C
36 24 75
Amiut\ProductSpecs\Admin\ImportExport::import_plugin_data()
B
33 19 100
Amiut\ProductSpecs\Admin\SpecificationTable::save_product_table()
A
43 16 43
dwspecs_attr_value_by()
A
52 13 23
Amiut\ProductSpecs\App::modified_attributes()
A
47 12 34
dwspecs_get_table_groups()
A
44 9 46
Amiut\ProductSpecs\Admin\ImportExport::export()
A
42 8 51
Amiut\ProductSpecs\Admin\SpecificationTable::save_table_metabox()
A
57 10 14
dwspecs_get_table_result()
A
54 8 20
Amiut\ProductSpecs\Admin\Ajax::group_re_arange()
S
55 7 18
Amiut\ProductSpecs\Admin\ImportExport::import_cb()
S
51 6 26
Amiut\ProductSpecs\App::woocommerce_tabs()
S
58 6 14
Amiut\ProductSpecs\App::add_notice()
S
59 5 12
Amiut\ProductSpecs\Admin\Ajax::edit_form()
S
60 5 12
dwspecs_current_page_url()
S
60 4 13
Amiut\ProductSpecs\Admin\Admin::create_menus()
S
46 1 51
Amiut\ProductSpecs\Shortcodes\Table::shortcode_handler()
S
56 3 18
Amiut\ProductSpecs\PostTypes::register_taxonomies()
S
45 1 46
Amiut\ProductSpecs\Admin\Ajax::load_table()
S
64 4 8
Amiut\ProductSpecs\PostTypes::register_post_types()
S
44 1 44
Amiut\ProductSpecs\Install::install()
S
60 3 13
dwspecs_table_template_part()
S
62 3 11
dwspecs_product_has_specs_table()
S
65 3 9
Amiut\ProductSpecs\Admin\Admin::modify_menu_urls()
S
64 3 9
Amiut\ProductSpecs\App::dismiss_alert()
S
69 3 6
Amiut\ProductSpecs\Admin\ImportExport::download()
S
59 2 14
Amiut\ProductSpecs\Admin\Options\Settings::settings_page_init()
S
55 1 27
Amiut\ProductSpecs\Admin\Admin::assets()
S
57 1 16
dwspecs_strip_some()
S
70 2 6
Amiut\ProductSpecs\App::instance()
S
71 2 6
Amiut\ProductSpecs\App::wc_needed_notice()
S
69 2 6
Amiut\ProductSpecs\App::define()
S
75 2 5
Amiut\ProductSpecs\App::public_dependencies()
S
72 2 5
Amiut\ProductSpecs\App::handle_woocommerce()
S
73 2 5
Amiut\ProductSpecs\Admin\Admin::get_template()
S
71 2 5
Amiut\ProductSpecs\Admin\SpecificationTable::get_spec_tables()
S
64 2 9
dwspecs_get_attributes_by_group()
S
66 2 9
dwspecs_spec_group_has_duplicates()
S
65 2 9
Amiut\ProductSpecs\Admin\Options\Settings::load_default_settings()
S
65 2 9
Amiut\ProductSpecs\Admin\ImportExport::Page_HTML()
S
62 1 12
Amiut\ProductSpecs\Admin\Options\Settings::Page_HTML()
S
80 1 3
Amiut\ProductSpecs\Admin\AttributeGroups::Page_HTML()
S
80 1 3
Amiut\ProductSpecs\Admin\SpecificationTable::content_spec_table()
S
67 1 8
Amiut\ProductSpecs\Admin\ImportExport::init()
S
74 1 4
Amiut\ProductSpecs\Admin\Ajax::init()
S
67 1 7
Amiut\ProductSpecs\Admin\SpecificationTable::content_product_specs()
S
67 1 8
Amiut\ProductSpecs\Admin\Admin::attributes_page()
S
81 1 3
Amiut\ProductSpecs\Admin\Admin::init()
S
65 1 9
Amiut\ProductSpecs\Admin\Attributes::Page_HTML()
S
80 1 3
Amiut\ProductSpecs\Admin\Options\Settings::init()
S
79 1 3
Amiut\ProductSpecs\Admin\Admin::tools_page()
S
81 1 3
dwspecs_table()
S
80 1 3
Amiut\ProductSpecs\App::woo_display_tab()
S
80 1 3
dwspecs_encodeURIComponent()
S
73 1 4
Amiut\ProductSpecs\App::define_constants()
S
69 1 6
Amiut\ProductSpecs\Admin\SpecificationTable::meta_box()
S
72 1 4
Amiut\ProductSpecs\Shortcodes\Table::init()
S
79 1 3
Amiut\ProductSpecs\App::includes()
S
80 1 3
Amiut\ProductSpecs\Admin\ImportExport::export_filename()
S
77 1 3
Amiut\ProductSpecs\Admin\SpecificationTable::get_spec_groups()
S
69 1 7
Amiut\ProductSpecs\App::__construct()
S
65 1 9
Amiut\ProductSpecs\Admin\Admin::settings_page()
S
80 1 3
Amiut\ProductSpecs\Admin\SpecificationTable::init()
S
72 1 5
Amiut\ProductSpecs\Admin\Options\Settings::sanitize()
S
81 1 3
Amiut\ProductSpecs\Admin\Admin::addnew_page()
S
78 1 3
Amiut\ProductSpecs\PostTypes::init()
S
75 1 4
Amiut\ProductSpecs\App::plugin_url()
S
79 1 3
Amiut\ProductSpecs\App::create_options()
S
72 1 5
Amiut\ProductSpecs\App::init()
S
67 1 7
Amiut\ProductSpecs\Admin\Admin::groups_page()
S
81 1 3