10% easy-taxonomy-support

Code Review | Easy Taxonomy Support

WordPress plugin Easy Taxonomy Support scored10%from 54 tests.

About plugin

  • Plugin page: easy-taxonomy-sup...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.1-3.9
  • WordPress version: 6.3.1
  • First release: Oct 15, 2013
  • Latest release: Apr 17, 2014
  • Number of updates: 8
  • Update frequency: every 23.0 days
  • Top authors: ELsMystERy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,339 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/easy-taxonomy-support/admin/easy-taxonomy-support-admin.php+25
    Trying to access array offset on value of type bool

Server metrics [RAM: ▲0.04MB] [CPU: ▼0.55ms] Passed 4 tests

This is a short check of server-side resources used by Easy Taxonomy Support
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.45 ▲3.00
Dashboard /wp-admin3.35 ▲0.0555.93 ▲1.62
Posts /wp-admin/edit.php3.40 ▲0.0555.85 ▲4.57
Add New Post /wp-admin/post-new.php5.95 ▲0.0790.15 ▼10.71
Media Library /wp-admin/upload.php3.28 ▲0.0540.33 ▲3.88
Easy Taxonomy /wp-admin/options-general.php?page=ezts3.2234.43

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy Taxonomy Support
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲2214.31 ▼0.041.67 ▼0.3046.98 ▲2.74
Dashboard /wp-admin2,196 ▲195.62 ▲0.0188.26 ▼0.7841.57 ▲1.02
Posts /wp-admin/edit.php2,104 ▲11.95 ▼0.0241.08 ▼1.4934.23 ▼7.74
Add New Post /wp-admin/post-new.php1,529 ▼023.13 ▲0.21700.18 ▲58.0973.72 ▲22.81
Media Library /wp-admin/upload.php1,401 ▼24.22 ▼0.01110.68 ▲8.1649.34 ▲2.61
Easy Taxonomy /wp-admin/options-general.php?page=ezts9402.1732.1835.67

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • ezts_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=ezts
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=ezts
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
The following issues need your attention
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-taxonomy-support/easy-taxonomy-support.php:31
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-taxonomy-support/admin/easy-taxonomy-support-admin.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: tags, taxonomy, types, categories, pages...

easy-taxonomy-support/easy-taxonomy-support.php 85% from 13 tests

The main file in "Easy Taxonomy Support" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 186 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 a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin238 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP27637237
CSS1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
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%
Functions17
▷ Named functions17100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/img/logo.png10.55KB7.38KB▼ 30.07%