10% taxonomy-converter

Code Review | Taxonomy Converter

WordPress plugin Taxonomy Converter scored10%from 54 tests.

About plugin

  • Plugin page: taxonomy-converter
  • Plugin version: 1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Nov 7, 2013
  • Latest release: Jul 26, 2019
  • Number of updates: 7
  • Update frequency: every 299.3 days
  • Top authors: kristarella (71.43%)iandunn (28.57%)Otto42 (28.57%)

Code review

54 tests

User reviews

11 reviews

Install metrics

1,000+ active /19,320 total downloads

Benchmarks

Plugin footprint 40% 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
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/taxonomy-converter/taxonomy-converter.php+30
    Methods with the same name as their class will not be constructors in a future version of PHP; WP_Taxonomy_Converter has a deprecated constructor

Server metrics [RAM: ▼1.84MB] [CPU: ▼55.40ms] Passed 4 tests

An overview of server-side resources used by Taxonomy Converter
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.15 ▼1.314.44 ▼34.65
Dashboard /wp-admin2.17 ▼1.135.48 ▼44.03
Posts /wp-admin/edit.php2.17 ▼1.185.98 ▼44.15
Add New Post /wp-admin/post-new.php2.17 ▼3.716.61 ▼98.78
Media Library /wp-admin/upload.php2.17 ▼1.066.22 ▼26.67

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Taxonomy Converter
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.20 ▼1.411.93 ▼0.0341.70 ▼7.75
Dashboard /wp-admin2,209 ▲185.86 ▲0.9897.27 ▼9.3938.67 ▼5.87
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0539.43 ▼1.7637.26 ▼0.52
Add New Post /wp-admin/post-new.php1,534 ▲623.27 ▲5.10652.15 ▲19.5151.27 ▲3.01
Media Library /wp-admin/upload.php1,391 ▼04.20 ▲0.0296.25 ▲0.2140.36 ▼1.73

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/taxonomy-converter/taxonomy-converter.php+30
    Methods with the same name as their class will not be constructors in a future version of PHP; WP_Taxonomy_Converter has a deprecated constructor
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 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
These attributes need your attention:
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

taxonomy-converter/taxonomy-converter.php Passed 13 tests

The primary PHP file in "Taxonomy Converter" version 1.3 is used by WordPress to initiate all plugin functionality
41 characters long description:
Copy or convert terms between taxonomies.

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
Success! There were no dangerous files found in this plugin231 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16427231

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity45.00
▷ Minimum class complexity45.00
▷ Maximum class complexity45.00
Average method complexity5.40
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin