90% rename-taxonomies

Code Review | Rename Taxonomies by WebMan

WordPress plugin Rename Taxonomies by WebMan scored90%from 54 tests.

About plugin

  • Plugin page: rename-taxonomies
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-6.4
  • WordPress version: 6.3.1
  • First release: Apr 12, 2016
  • Latest release: Nov 15, 2023
  • Number of updates: 31
  • Update frequency: every 89.5 days
  • Top authors: webmandesign (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active /12,439 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

Server-side resources used by Rename Taxonomies by WebMan
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.43 ▼5.68
Dashboard /wp-admin3.32 ▲0.0251.58 ▲3.34
Posts /wp-admin/edit.php3.37 ▲0.0148.38 ▲1.93
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.96 ▼14.46
Media Library /wp-admin/upload.php3.24 ▲0.0132.72 ▼2.57
Rename Taxonomies /wp-admin/tools.php?page=rename-taxonomies3.2942.10

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

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

Browser metrics Passed 4 tests

Rename Taxonomies by WebMan: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲3214.72 ▲0.371.63 ▼0.1040.21 ▼2.64
Dashboard /wp-admin2,202 ▲285.65 ▲0.0792.51 ▼9.6140.38 ▼1.56
Posts /wp-admin/edit.php2,101 ▲12.02 ▲0.0837.68 ▼3.1244.41 ▲5.62
Add New Post /wp-admin/post-new.php1,529 ▼1523.05 ▼2.08691.05 ▲35.5258.66 ▼7.99
Media Library /wp-admin/upload.php1,407 ▲44.20 ▲0.0099.91 ▼2.3844.85 ▼1.68
Rename Taxonomies /wp-admin/tools.php?page=rename-taxonomies1,0222.0024.9945.85

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: There are too many tags (14 tag instead of maximum 10)
The official readme.txt might help

rename-taxonomies/rename-taxonomies.php Passed 13 tests

"Rename Taxonomies by WebMan" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
Customizes text and menu labels for any registered taxonomy using a simple interface.

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 plugin843 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP4348321635
Sass4409131
Markdown219050
CSS123327

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.40
Average class complexity19.00
▷ Minimum class complexity18.00
▷ Maximum class complexity20.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods21
▷ Static methods1257.14%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin