10% fast-woo-tags

Code Review | Fast WooTags

WordPress plugin Fast WooTags scored10%from 54 tests.

About plugin

  • Plugin page: fast-woo-tags
  • Plugin version: 1.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 5, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 10
  • Update frequency: every 134.6 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /607 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • The plugin did not install without errors
    • > Error in wp-content/plugins/fast-woo-tags/fast-woo-tags.php+34
    Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/fast-woo-tags/fast-woo-tags.php:34
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): FastWooTag->fast_woo_tag_activate()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.96ms] Passed 4 tests

Analyzing server-side resources used by Fast WooTags
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.49 ▼8.12
Dashboard /wp-admin3.31 ▲0.0048.36 ▼3.25
Posts /wp-admin/edit.php3.36 ▲0.0051.48 ▲2.10
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.67 ▼4.85
Media Library /wp-admin/upload.php3.23 ▲0.0035.41 ▼3.62

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Fast WooTags
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.38 ▼0.241.72 ▲0.1038.37 ▼2.23
Dashboard /wp-admin2,195 ▲185.54 ▼0.0685.63 ▼13.2247.10 ▲3.15
Posts /wp-admin/edit.php2,103 ▼21.99 ▲0.0135.97 ▼5.7735.94 ▲4.60
Add New Post /wp-admin/post-new.php1,526 ▼2523.35 ▲0.33669.18 ▼19.1765.37 ▲13.40
Media Library /wp-admin/upload.php1,400 ▼34.20 ▲0.01101.15 ▼6.3243.33 ▼4.17

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

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 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Order status Fast Tags are automatically created on activation), #2 (Add tags into the Fast Flow system), #3 (Update your WooCommerce productd with various tags), #4 (Use one of our various CRM integrations for automated user tagging)
The official readme.txt might help

fast-woo-tags/fast-woo-tags.php Passed 13 tests

The primary PHP file in "Fast WooTags" version 1.2 is used by WordPress to initiate all plugin functionality
36 characters long description:
Woocommerce addon for Fast Flow Tags

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin173 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1188173

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity2.46
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin