10% admin-tag-ui

Code Review | Admin Tag UI

WordPress plugin Admin Tag UI scored10%from 54 tests.

About plugin

  • Plugin page: admin-tag-ui
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-5.8
  • WordPress version: 6.3.1
  • First release: May 27, 2017
  • Latest release: Oct 27, 2021
  • Number of updates: 13
  • Update frequency: every 124.2 days
  • Top authors: divspark (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,378 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/admin-tag-ui/admin-tag-ui.php+32
    Trying to access array offset on value of type bool

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.60ms] Passed 4 tests

This is a short check of server-side resources used by Admin Tag UI
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0341.77 ▼4.04
Dashboard /wp-admin3.35 ▲0.0443.49 ▼12.01
Posts /wp-admin/edit.php3.40 ▲0.0450.24 ▲0.57
Add New Post /wp-admin/post-new.php5.93 ▲0.0587.28 ▼6.93
Media Library /wp-admin/upload.php3.27 ▲0.0434.13 ▲0.98

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
atui_settings
widget_recent-comments

Browser metrics Passed 4 tests

Admin Tag UI: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.61 ▼0.774.44 ▲2.5842.94 ▲3.74
Dashboard /wp-admin2,206 ▲185.83 ▲0.70102.45 ▼3.5437.54 ▼4.19
Posts /wp-admin/edit.php2,086 ▼32.04 ▼0.0136.42 ▲0.6834.22 ▼0.66
Add New Post /wp-admin/post-new.php1,541 ▲823.36 ▲0.02637.48 ▼20.2649.49 ▼0.08
Media Library /wp-admin/upload.php1,382 ▼04.23 ▲0.0696.10 ▼0.9042.36 ▼2.78

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
Please take inspiration from this readme.txt

admin-tag-ui/admin-tag-ui.php Passed 13 tests

"Admin Tag UI" version 1.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
Changes appearance of tag sections in the admin backend post pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected399 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP4118115399

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity13.00
▷ Minimum class complexity5.00
▷ Maximum class complexity21.00
Average method complexity2.26
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods19
▷ Static methods00.00%
▷ Public methods19100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin