84% ime-ready-taxonomy

Code Review | IME Ready Taxonomy

WordPress plugin IME Ready Taxonomy scored84%from 54 tests.

About plugin

  • Plugin page: ime-ready-taxonomy
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-3.9
  • WordPress version: 6.3.1
  • First release: Jan 30, 2014
  • Latest release: Apr 30, 2014
  • Number of updates: 10
  • Update frequency: every 9.2 days
  • Top authors: Takahashi_Fumiki (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /11,857 total downloads

Benchmarks

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.01MB] [CPU: ▼6.30ms] Passed 4 tests

Analyzing server-side resources used by IME Ready Taxonomy
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.57 ▲0.34
Dashboard /wp-admin3.31 ▲0.0147.71 ▼5.49
Posts /wp-admin/edit.php3.37 ▲0.0149.41 ▼1.06
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.06 ▼19.00
Media Library /wp-admin/upload.php3.24 ▲0.0139.09 ▲2.34

Server storage [IO: ▲0.19MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

IME Ready Taxonomy: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5414.74 ▲1.521.78 ▼3.2342.38 ▲1.75
Dashboard /wp-admin2,224 ▲215.86 ▲0.88124.98 ▲16.1856.87 ▲17.12
Posts /wp-admin/edit.php2,100 ▼02.01 ▼0.0537.40 ▲0.7934.10 ▼0.98
Add New Post /wp-admin/post-new.php1,537 ▲1123.66 ▲6.10665.72 ▼27.0357.14 ▲1.06
Media Library /wp-admin/upload.php1,394 ▼64.21 ▲0.00100.99 ▼14.8145.38 ▼2.46

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'IRT\\Singleton' not found in wp-content/plugins/ime-ready-taxonomy/irt/main.php:13

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)
Everything seems fine on the user side

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
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (New UI looks like above.)
You can look at the official readme.txt

ime-ready-taxonomy/ime-ready-taxonomy.php Passed 13 tests

The main PHP file in "IME Ready Taxonomy" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
Enhanced WordPress UI for taxonomy. Don't hesitate to press enter key!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,383 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4163172904
Sass3146155
PHP430147147
CSS2831101
PO File16635
Markdown124032
Ruby16119

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity7.00
▷ Minimum class complexity4.00
▷ Maximum class complexity10.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes150.00%
▷ Concrete classes150.00%
▷ Final classes00.00%
Methods8
▷ Static methods112.50%
▷ Public methods675.00%
▷ Protected methods225.00%
▷ Private methods00.00%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants2
▷ Global constants2100.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
1 PNG file occupies 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png77.96KB21.25KB▼ 72.74%