78% wp-xperts-woo-tools

Code Review | WP-xPerts Woo Tools

WordPress plugin WP-xPerts Woo Tools scored78%from 54 tests.

About plugin

  • Plugin page: wp-xperts-woo-tools
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-4.7.3
  • WordPress version: 6.3.1
  • First release: Apr 6, 2017
  • Latest release: May 23, 2017
  • Number of updates: 7
  • Update frequency: every 6.6 days
  • Top authors: wpxperts15 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /514 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Analyzing server-side resources used by WP-xPerts Woo Tools
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.56 ▼6.56
Dashboard /wp-admin3.31 ▲0.0146.92 ▼4.79
Posts /wp-admin/edit.php3.36 ▲0.0148.50 ▲1.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.31 ▼7.68
Media Library /wp-admin/upload.php3.24 ▲0.0136.83 ▲6.03

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for WP-xPerts Woo Tools
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.33 ▼0.961.78 ▼0.0345.67 ▼6.78
Dashboard /wp-admin2,209 ▲245.86 ▲0.97109.07 ▼5.5242.16 ▼6.44
Posts /wp-admin/edit.php2,089 ▲32.01 ▲0.0233.70 ▼3.2833.07 ▼2.24
Add New Post /wp-admin/post-new.php1,534 ▲2023.27 ▲5.53655.07 ▼27.9859.63 ▲1.70
Media Library /wp-admin/upload.php1,385 ▲34.16 ▼0.0399.96 ▲1.0942.62 ▼0.26

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% 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
The following issues need your attention
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-xperts-woo-tools/inc/wp-xperts-info.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WX_WOO_Tools' not found in wp-content/plugins/wp-xperts-woo-tools/inc/woo-hooks.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: woocommerce, woocommerce custom thank you page, woocommerce add to cart redirect, woocommerce customize products tabs, remove product tabs...

wp-xperts-woo-tools/woo-tools.php 77% from 13 tests

The main file in "WP-xPerts Woo Tools" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("wp-xperts-woo-tools.php" instead of "woo-tools.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 249 characters long)
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected478 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP43122351
CSS140120
JavaScript1207

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.40
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods240.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected