84% vortex-tags

Code Review | Vortex Tags

WordPress plugin Vortex Tags scored84%from 54 tests.

About plugin

  • Plugin page: vortex-tags
  • Plugin version: The Plugin's Version...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0
  • WordPress version: 6.3.1
  • First release: Mar 12, 2015
  • Latest release: Mar 12, 2015
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: adeel729 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /682 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.71ms] Passed 4 tests

A check of server-side resources used by Vortex Tags
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0245.94 ▲8.32
Dashboard /wp-admin3.32 ▲0.0247.31 ▼3.69
Posts /wp-admin/edit.php3.38 ▲0.0248.86 ▼3.07
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.55 ▼2.08
Media Library /wp-admin/upload.php3.25 ▲0.0240.15 ▲2.00
Vortex Tags /wp-admin/options-general.php?page=vortex-tag-settings3.2135.05

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options
theysaidso_admin_options
vortex_bg
vortex_font_color
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
vortex_speed
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Vortex Tags
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,874 ▲11313.39 ▼1.008.80 ▲6.9241.55 ▼6.32
Dashboard /wp-admin2,202 ▲225.61 ▲0.0890.01 ▼4.3941.05 ▲0.80
Posts /wp-admin/edit.php2,104 ▲72.02 ▲0.0539.32 ▲2.0436.04 ▲0.33
Add New Post /wp-admin/post-new.php1,531 ▲521.11 ▼2.12684.24 ▼9.3160.47 ▼2.58
Media Library /wp-admin/upload.php1,398 ▼24.16 ▼0.07101.34 ▼9.3844.22 ▼1.28
Vortex Tags /wp-admin/options-general.php?page=vortex-tag-settings8282.0028.0226.85

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 9 options in the database
    • can_compress_scripts
    • vortex_font_color
    • vortex_speed
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • vortex_bg
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/vortex-tags/vortex-tags.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (Example tags (with dynamic color,speed and background)), #2 (Setting area for changing default settings!), #3 (Admin setting page link)
Please take inspiration from this readme.txt

vortex-tags/vortex-tags.php 92% from 13 tests

"Vortex Tags" version The Plugin's Version...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "The Plugin's Version...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin355 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21214227
PHP4212128

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screentshot-2.PNG8.82KB4.76KB▼ 46.06%
screentshot-3.PNG5.67KB3.46KB▼ 38.91%
screentshot-1.PNG3.51KB2.02KB▼ 42.34%