89% term-taxonomy-converter

Code Review | Term Taxonomy Converter

WordPress plugin Term Taxonomy Converter scored89%from 54 tests.

About plugin

  • Plugin page: term-taxonomy-con...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Jul 29, 2019
  • Latest release: Jun 7, 2023
  • Number of updates: 13
  • Update frequency: every 108.5 days
  • Top authors: dhanendran (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

500+ active /4,164 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
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.45ms] Passed 4 tests

An overview of server-side resources used by Term Taxonomy Converter
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.15 ▼6.58
Dashboard /wp-admin3.31 ▼0.0346.97 ▼16.77
Posts /wp-admin/edit.php3.36 ▲0.0050.46 ▼1.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.64 ▼16.48
Media Library /wp-admin/upload.php3.23 ▲0.0036.02 ▲0.63
Term Taxonomy Converter /wp-admin/tools.php?page=term_tax_converter3.2036.39

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
category_children
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Term Taxonomy Converter
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.17 ▼1.001.73 ▼0.0643.06 ▼4.80
Dashboard /wp-admin2,222 ▲555.81 ▲0.20103.13 ▼11.0839.91 ▼3.79
Posts /wp-admin/edit.php2,104 ▲42.01 ▼0.0239.31 ▼0.9136.42 ▼0.60
Add New Post /wp-admin/post-new.php1,550 ▼423.26 ▲5.06628.69 ▼6.3854.82 ▲5.25
Media Library /wp-admin/upload.php1,398 ▼24.26 ▲0.01101.52 ▼6.0545.23 ▼1.99
Term Taxonomy Converter /wp-admin/tools.php?page=term_tax_converter8512.0526.3129.03

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • widget_recent-comments
    • category_children
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #1 in term-taxonomy-converter/assets to your readme.txt
  • License uri: Please fix this invalid url: "http://www.gnu.org/licenses/gpl-3.0.html"
Please take inspiration from this readme.txt

term-taxonomy-converter/term-taxonomy-converter.php 85% from 13 tests

"Term Taxonomy Converter" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 201 characters long)
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected267 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP16434244
Markdown113023

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity45.00
▷ Minimum class complexity45.00
▷ Maximum class complexity45.00
Average method complexity5.00
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin