84% simple-taxonomy-refreshed

Code Review | Simple Taxonomy Refreshed

WordPress plugin Simple Taxonomy Refreshed scored84%from 54 tests.

About plugin

  • Plugin page: simple-taxonomy-r...
  • Plugin version: 3.2.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 16, 2019
  • Latest release: Nov 29, 2023
  • Number of updates: 33
  • Update frequency: every 43.8 days
  • Top authors: nwjames (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

500+ active /6,137 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.88MB] [CPU: ▲2.64ms] Passed 4 tests

Analyzing server-side resources used by Simple Taxonomy Refreshed
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2941.39 ▼3.14
Dashboard /wp-admin4.43 ▲1.0862.04 ▼1.35
Posts /wp-admin/edit.php4.49 ▲1.1357.34 ▲8.58
Add New Post /wp-admin/post-new.php6.98 ▲1.09103.01 ▲7.17
Media Library /wp-admin/upload.php4.29 ▲1.0645.28 ▲7.86
Terms Merge /wp-admin/admin.php?page=staxo_merge4.2642.81
Add Taxonomy /wp-admin/admin.php?page=staxo_settings&action=add4.2743.25
Terms Import /wp-admin/admin.php?page=staxo_import4.2640.99
Configuration Export/Import /wp-admin/admin.php?page=staxo_config_file4.2739.19
All Taxonomies /wp-admin/admin.php?page=staxo_settings4.2738.96
Taxonomy List Order /wp-admin/admin.php?page=staxo_order4.2741.07
Terms Migrate /wp-admin/admin.php?page=staxo_convert4.2635.62

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Simple Taxonomy Refreshed
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,863 ▲10113.72 ▼1.011.68 ▲0.1041.20 ▼2.44
Dashboard /wp-admin2,259 ▲895.45 ▼0.21106.87 ▲0.1644.20 ▲2.06
Posts /wp-admin/edit.php2,182 ▲822.51 ▲0.5042.96 ▲3.6053.05 ▲17.07
Add New Post /wp-admin/post-new.php6,408 ▲4,88227.76 ▲4.48794.57 ▲121.9135.89 ▼23.66
Media Library /wp-admin/upload.php1,479 ▲824.87 ▲0.6396.44 ▼4.2741.72 ▼3.46
Terms Merge /wp-admin/admin.php?page=staxo_merge9342.4428.0427.56
Add Taxonomy /wp-admin/admin.php?page=staxo_settings&action=add3,3632.2130.6735.05
Terms Import /wp-admin/admin.php?page=staxo_import1,0422.3228.4626.51
Configuration Export/Import /wp-admin/admin.php?page=staxo_config_file9422.2829.5940.76
All Taxonomies /wp-admin/admin.php?page=staxo_settings1,2192.3432.3328.19
Taxonomy List Order /wp-admin/admin.php?page=staxo_order9602.6137.9742.59
Terms Migrate /wp-admin/admin.php?page=staxo_convert1,0342.1930.5124.53

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_staxonomy
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-taxonomy-refreshed/simple-taxonomy-refreshed.php:38
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-widget.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found


Plugin configuration Passed 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: tags, block editor, taxonomy, category, taxonomies...

simple-taxonomy-refreshed/simple-taxonomy-refreshed.php Passed 13 tests

The entry point to "Simple Taxonomy Refreshed" version 3.2.0 is a PHP file that has certain tags in its header comment area
121 characters long description:
WordPress provides simple custom taxonomy, this plugin makes it even simpler, removing the need for you to write any code

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin6,545 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity83.78
▷ Minimum class complexity17.00
▷ Maximum class complexity338.00
Average method complexity6.69
▷ Minimum method complexity1.00
▷ Maximum method complexity60.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
▷ Static methods11184.73%
▷ Public methods8564.89%
▷ Protected methods75.34%
▷ Private methods3929.77%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants19.09%
▷ Class constants1090.91%
▷ Public constants10100.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
No PNG files were detected