10% taxonomy-meta-ui

Code Review | Taxonomy Meta UI

WordPress plugin Taxonomy Meta UI scored10%from 54 tests.

About plugin

  • Plugin page: taxonomy-meta-ui
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.2
  • WordPress version: 6.3.1
  • First release: Mar 23, 2015
  • Latest release: Mar 26, 2015
  • Number of updates: 8
  • Update frequency: every 0.5 days
  • Top authors: Horttcore (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /962 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • The plugin did not install without errors
    • > Compile error in wp-content/plugins/taxonomy-meta-ui/includes/functions.php+11
    Cannot redeclare add_term_meta() (previously declared in wp-includes/taxonomy.php:1346)

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

Server-side resources used by Taxonomy Meta UI
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0035.49 ▼2.67
Dashboard /wp-admin3.31 ▼0.0445.38 ▼16.56
Posts /wp-admin/edit.php3.36 ▲0.0043.17 ▼2.15
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.20 ▼12.92
Media Library /wp-admin/upload.php3.23 ▲0.0035.22 ▲2.79

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Taxonomy Meta UI
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.27 ▼1.114.51 ▲2.9539.42 ▼1.40
Dashboard /wp-admin2,206 ▲185.83 ▲0.92101.90 ▼1.5337.84 ▼5.32
Posts /wp-admin/edit.php2,089 ▼02.01 ▲0.0236.38 ▼1.0835.67 ▼0.34
Add New Post /wp-admin/post-new.php1,534 ▼823.16 ▲4.82638.56 ▲15.9756.26 ▲2.56
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.1294.70 ▲0.4143.75 ▲2.72

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 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 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 take a closer look at the following
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/taxonomy-meta-ui/classes/class.taxonomy-meta-ui.admin.php
    • > /wp-content/plugins/taxonomy-meta-ui/classes/class.taxonomy-meta-ui.php
    • > /wp-content/plugins/taxonomy-meta-ui/plugin.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% 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
These attributes need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (New term screen with custom fields), #2 (Edit term screen with custom fields), #3 (New term screen with custom fields and static field `foo`), #4 (Edit term screen with custom fields and static field `foo`)
Please take inspiration from this readme.txt

taxonomy-meta-ui/plugin.php 92% from 13 tests

This is the main PHP file of "Taxonomy Meta UI" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("taxonomy-meta-ui.php" instead of "plugin.php")

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
Good job! No executable or dangerous file extensions detected574 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP6271272355
JavaScript236490
Markdown133051
PO File1154749
CSS17029

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity21.00
▷ Minimum class complexity1.00
▷ Maximum class complexity41.00
Average method complexity2.74
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes2100.00%
Methods23
▷ Static methods521.74%
▷ Public methods2086.96%
▷ Protected methods00.00%
▷ Private methods313.04%
Functions4
▷ Named functions4100.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