10% taggator

Code Review | TagGator

WordPress plugin TagGator scored10%from 54 tests.

About plugin

  • Plugin page: taggator
  • Plugin version: 1.54
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 6.3.1
  • First release: Jun 9, 2009
  • Latest release: Feb 6, 2015
  • Number of updates: 57
  • Update frequency: every 36.3 days
  • Top authors: angrybyte (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /16,436 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • This plugin did not install gracefully
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.

Server metrics [RAM: ▼1.89MB] [CPU: ▼55.24ms] Passed 4 tests

This is a short check of server-side resources used by TagGator
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.10 ▼1.364.41 ▼35.49
Dashboard /wp-admin2.12 ▼1.186.89 ▼46.16
Posts /wp-admin/edit.php2.12 ▼1.245.36 ▼45.03
Add New Post /wp-admin/post-new.php2.12 ▼3.775.76 ▼94.27
Media Library /wp-admin/upload.php2.12 ▼1.114.69 ▼33.15
TagGator /wp-admin/options-general.php?page=taggator/taggator.php2.136.07

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for TagGator
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.21 ▼0.411.70 ▼0.1944.77 ▲1.43
Dashboard /wp-admin2,199 ▲225.51 ▼0.1491.64 ▼4.8142.26 ▼1.35
Posts /wp-admin/edit.php2,101 ▲11.94 ▼0.0033.70 ▼6.2934.75 ▼3.04
Add New Post /wp-admin/post-new.php1,531 ▲322.96 ▼0.14668.12 ▼17.0758.52 ▲2.92
Media Library /wp-admin/upload.php1,407 ▲74.27 ▲0.08101.32 ▼9.7347.07 ▲1.81
TagGator /wp-admin/options-general.php?page=taggator/taggator.php9552.1323.4531.57

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
  • Zombie WordPress options were found after uninstall: 9 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • taggatorcs
    • widget_recent-posts
    • taggatormhw
    • can_compress_scripts
    • taggatortags
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Notice in wp-content/plugins/taggator/taggator.php+47
    Undefined index: ftag
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Notice in wp-content/plugins/taggator/taggator.php+47
    Undefined index: sss
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Notice in wp-content/plugins/taggator/taggator.php+51
    Undefined index: xx
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Notice in wp-content/plugins/taggator/taggator.php+150
    Undefined variable: txtmat
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Notice in wp-content/plugins/taggator/taggator.php+155
    Undefined variable: chkdtit

SRP 50% from 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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/taggator/taggator.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
    • > Network (severe)
    https://dl.dropbox.com/u/7048593/taggatorinline.png - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 90% 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
These attributes need to be fixed:
  • Plugin Name: You should set the name of your plugin on the first line ( === taggator === )
  • Tags: Please delete some tags, you are using 16 tag instead of maximum 10
You can take inspiration from this readme.txt

taggator/taggator.php 92% from 13 tests

The main file in "TagGator" v. 1.54 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 181 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin334 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS23720182
PHP13814139
JavaScript201013

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions4
▷ Named functions4100.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
13 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/drop-shadow.png1.03KB2.00KB0.00%
images/content_bg.png0.12KB0.09KB▼ 18.64%
images/nav_bg.png0.20KB0.27KB0.00%
images/document_icon.png4.74KB3.17KB▼ 33.24%
images/picture-frame.png4.45KB2.06KB▼ 53.71%