Benchmarks
Plugin footprint 65% 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.12MB] [CPU: ▲3.02ms] Passed 4 tests
A check of server-side resources used by Meta Optimizer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 45.19 ▲7.56 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.20 ▲1.27 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 50.99 ▲6.81 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.17 ▼3.58 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 42.51 ▲9.27 |
Meta Optimizer /wp-admin/tools.php?page=wp-meta-optimizer | 3.29 | 71.11 |
Server storage [IO: ▲0.20MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_termmeta_wpmo |
wp_postmeta_wpmo |
wp_commentmeta_wpmo |
wp_usermeta_wpmo |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Meta Optimizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲40 | 13.22 ▼1.16 | 1.57 ▼0.23 | 41.54 ▲3.50 |
Dashboard /wp-admin | 2,217 ▲29 | 5.87 ▲0.99 | 109.46 ▲0.61 | 36.99 ▼7.76 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.02 ▲0.01 | 40.56 ▲5.26 | 34.48 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.38 ▲5.75 | 675.83 ▲74.51 | 61.40 ▲12.26 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.23 ▲0.03 | 109.55 ▲12.36 | 45.92 ▲3.33 |
Meta Optimizer /wp-admin/tools.php?page=wp-meta-optimizer | 2,118 | 1.84 | 28.00 | 39.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_postmeta_wpmo
- wp_usermeta_wpmo
- wp_commentmeta_wpmo
- wp_termmeta_wpmo
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: term meta, meta, post meta, comment meta, optimizer...
meta-optimizer/WPMetaOptimizer.php 92% from 13 tests
"Meta Optimizer" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("meta-optimizer.php" instead of "WPMetaOptimizer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,376 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 732 | 1,435 | 3,219 |
JavaScript | 1 | 24 | 1 | 156 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 41.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 5.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 88.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 28 | 20.00% |
▷ Public methods | 126 | 90.00% |
▷ Protected methods | 9 | 6.43% |
▷ Private methods | 5 | 3.57% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin