89% selldorado-mastertag

Code Review | Selldorado Mastertag

WordPress plugin Selldorado Mastertag scored89%from 54 tests.

About plugin

  • Plugin page: selldorado-mastertag
  • Plugin version: 20180606...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.7
  • WordPress version: 6.3.1
  • First release: Apr 26, 2017
  • Latest release: Jun 6, 2018
  • Number of updates: 14
  • Update frequency: every 29.8 days
  • Top authors: effiliation (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,003 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼4.12ms] Passed 4 tests

A check of server-side resources used by Selldorado Mastertag
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0638.87 ▼0.76
Dashboard /wp-admin3.37 ▲0.0657.09 ▲2.48
Posts /wp-admin/edit.php3.48 ▲0.1245.84 ▼5.69
Add New Post /wp-admin/post-new.php5.95 ▲0.0686.37 ▼11.30
Media Library /wp-admin/upload.php3.29 ▲0.0638.38 ▲1.27

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Selldorado Mastertag
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.441.59 ▼0.5844.52 ▲2.50
Dashboard /wp-admin2,195 ▲215.61 ▼0.0786.55 ▼10.3137.73 ▼2.84
Posts /wp-admin/edit.php2,100 ▼32.16 ▲0.1335.74 ▼3.0840.57 ▲4.13
Add New Post /wp-admin/post-new.php1,526 ▼023.27 ▼0.24685.41 ▲33.2650.27 ▼1.62
Media Library /wp-admin/upload.php1,403 ▲34.12 ▼0.06102.15 ▼1.0146.51 ▲1.17

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% 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:
  • Tags: There are too many tags (14 tag instead of maximum 10)
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === selldorado-mastertag === )
Please take inspiration from this readme.txt

selldorado-mastertag/selldorado-mastertag.php 85% from 13 tests

The primary PHP file in "Selldorado Mastertag" version 20180606... is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "20180606...")
  • Description: Keep the plugin description shorter than 140 characters (currently 235 characters long)

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
Success! There were no dangerous files found in this plugin354 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP44942315
PO File181039

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin