74% jl-convert-taxonomy-terms

Code Review | JL Convert Taxonomy Terms

WordPress plugin JL Convert Taxonomy Terms scored 74% from 54 tests.

About plugin

  • Plugin page: jl-convert-taxono...
  • Plugin version: 1.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Jun 20, 2020
  • Latest release: Mar 31, 2023
  • Number of updates: 7
  • Update frequency: every 145.0 days
  • Top authors: lovecoding (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 573 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by JL Convert Taxonomy Terms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.50 ▼7.33
Dashboard /wp-admin3.33 ▲0.0346.74 ▼8.19
Posts /wp-admin/edit.php3.38 ▲0.0249.60 ▲4.37
Add New Post /wp-admin/post-new.php5.91 ▲0.0286.05 ▼2.86
Media Library /wp-admin/upload.php3.25 ▲0.0236.94 ▲2.80
Convert Taxonomy Terms /wp-admin/tools.php?page=convert-taxonomy-terms3.2235.80

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
category_children
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

JL Convert Taxonomy Terms: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4713.23 ▼1.161.71 ▼0.2540.44 ▼7.43
Dashboard /wp-admin2,213 ▲254.84 ▼0.0895.72 ▼18.6339.60 ▼7.44
Posts /wp-admin/edit.php2,096 ▲72.05 ▲0.0439.09 ▲4.3035.32 ▼1.50
Add New Post /wp-admin/post-new.php1,517 ▼1117.60 ▼0.43608.83 ▲5.9555.26 ▲0.46
Media Library /wp-admin/upload.php1,386 ▼24.20 ▼0.0798.24 ▼11.9641.31 ▼7.89
Convert Taxonomy Terms /wp-admin/tools.php?page=convert-taxonomy-terms9701.7123.4227.77

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Warning in wp-content/plugins/jl-convert-taxonomy-terms/jl-convert-taxonomy-terms.php+327
    Invalid argument supplied for foreach()
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • category_children

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)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/jl-convert-taxonomy-terms/jl-convert-taxonomy-terms.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: move tags to categories, convert taxonomies, convert taxonomy term, covert categories, convert tags...

jl-convert-taxonomy-terms/jl-convert-taxonomy-terms.php 92% from 13 tests

"JL Convert Taxonomy Terms" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin340 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP36172253
JavaScript10146
PO File1161341

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions18
▷ Named functions1794.44%
▷ Anonymous functions15.56%
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
No PNG files were detected