Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.48ms] Passed 4 tests
An overview of server-side resources used by Metabase - Post & User Meta Editor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.52 ▼2.33 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.01 ▼5.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.76 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.44 ▼3.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.79 ▲2.53 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Metabase - Post & User Meta Editor: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.31 ▼1.07 | 1.76 ▼0.24 | 45.28 ▼3.22 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.03 | 95.99 ▼20.31 | 36.78 ▼7.54 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.05 | 38.55 ▲2.87 | 37.27 ▲5.15 |
Add New Post /wp-admin/post-new.php | 6,588 ▲5,054 | 20.07 ▼3.10 | 877.59 ▲256.57 | 52.17 ▼2.43 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.00 | 93.07 ▼4.34 | 41.91 ▼5.62 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 103× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/metabase-post-user-meta-editor/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
metabase-post-user-meta-editor/metabase.php 85% from 13 tests
This is the main PHP file of "Metabase - Post & User Meta Editor" version 0.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("metabase-post-user-meta-editor.php" instead of "metabase.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,650 lines of code in 133 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 655 | 1,160 | 3,161 |
JSON | 3 | 0 | 0 | 321 |
YAML | 3 | 31 | 3 | 123 |
Markdown | 1 | 42 | 0 | 42 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 2.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 110 | |
▷ Abstract classes | 1 | 0.91% |
▷ Concrete classes | 109 | 99.09% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 19 | 11.95% |
▷ Public methods | 111 | 69.81% |
▷ Protected methods | 34 | 21.38% |
▷ Private methods | 14 | 8.81% |
Functions | 15 | |
▷ Named functions | 7 | 46.67% |
▷ Anonymous functions | 8 | 53.33% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin