Cart Weight for WooCommerce

Display product weight at WooCommerce cart and checkout. No configuration needed — just activate the plugin and see total weight automatically!

v1.9.20Octolize Shipping PluginsUpdated Added 1k+ installs100% rating
96
Score
5
Errors
12
Warnings
+0
Change

Category Scores

Security100
Repo89
Performance100
Maintainability89

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

17 findings

Maintainability

15

6 issue groups

Repo Compliance

2

2 issue groups

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_class_name".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_class_name".

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_CART_WEIGHT_VERSION".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_CART_WEIGHT_VERSION".

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woo_cart_weight/cart_weight".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woo_cart_weight/cart_weight".

WARNINGMaintainabilitymismatched plugin namePlugin name "Cart Weight for WooCommerce" is different from the name declared in plugin header "Cart Weight".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Cart Weight for WooCommerce" is different from the name declared in plugin header "Cart Weight".

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

ERRORRepo Compliancereadme mismatched header requiresMismatched Requires at least: 4.5 != 6.4. "Requires at least" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 4.5 != 6.4. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

WARNINGMaintainabilitytrademarked termThe plugin slug includes a restricted term. Your plugin slug - "woo-cart-weight" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "woo-cart-weight" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".

Score History

First score snapshot

v1.9.20

96

Latest

Findings
17
Errors
5
Warnings
12
Check
2.0.0

Related Plugins