84% skip-cart-woocommerce

Code Review | WooCommerce Skip Cart

WordPress plugin WooCommerce Skip Cart scored84%from 54 tests.

About plugin

  • Plugin page: skip-cart-woocomm...
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jan 31, 2014
  • Latest release: Feb 5, 2014
  • Number of updates: 7
  • Update frequency: every 0.7 days
  • Top authors: jpsirois (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,244 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.66ms] Passed 4 tests

This is a short check of server-side resources used by WooCommerce Skip Cart
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.83 ▼3.68
Dashboard /wp-admin3.31 ▲0.0144.09 ▼8.11
Posts /wp-admin/edit.php3.36 ▲0.0043.40 ▼7.14
Add New Post /wp-admin/post-new.php5.89 ▲0.0099.35 ▲5.82
Media Library /wp-admin/upload.php3.23 ▲0.0034.43 ▲0.31

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for WooCommerce Skip Cart
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.67 ▼1.001.75 ▲0.0945.45 ▼4.90
Dashboard /wp-admin2,203 ▲185.79 ▲0.90101.29 ▼1.8341.64 ▼4.12
Posts /wp-admin/edit.php2,092 ▲31.98 ▼0.0535.57 ▼6.0232.73 ▼3.71
Add New Post /wp-admin/post-new.php1,533 ▼023.39 ▲0.33640.40 ▼28.3355.45 ▲1.04
Media Library /wp-admin/upload.php1,382 ▼64.19 ▼0.0495.64 ▼5.5441.69 ▼3.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/skip-cart-woocommerce/skip-cart-woocommerce.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

skip-cart-woocommerce/skip-cart-woocommerce.php 92% from 13 tests

The main file in "WooCommerce Skip Cart" v. 0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 153 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin12 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12138
Markdown1204

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin