Benchmarks
Plugin footprint 83% 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.00ms] Passed 4 tests
A check of server-side resources used by Metawash
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.97 ▲2.41 |
Dashboard /wp-admin | 3.42 ▲0.11 | 51.64 ▼0.94 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.32 ▲1.36 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.01 ▼11.53 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 34.77 ▼0.87 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Metawash
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.52 ▼1.00 | 7.65 ▲6.09 | 36.17 ▲0.90 |
Dashboard /wp-admin | 2,213 ▲39 | 5.62 ▼0.05 | 94.05 ▲6.02 | 81.48 ▲38.01 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.01 ▼0.00 | 33.59 ▼2.24 | 31.91 ▼6.10 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 23.08 ▲0.12 | 647.81 ▼30.18 | 60.04 ▲10.23 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.14 ▼0.06 | 96.31 ▼3.54 | 71.79 ▲25.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/suments-data-metacleaner-free/public/partials/plugin-name-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/suments-data-metacleaner-free/template/dashboard.php:2
- > PHP Fatal error
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 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== suments-data-metacleaner-free ===
) - Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
suments-data-metacleaner-free/metawash.php 77% from 13 tests
This is the main PHP file of "Metawash" version 7.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("suments-data-metacleaner-free.php" instead of "metawash.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 146 characters long)
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
There were no executable files found in this plugin2,821 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 99 | 30 | 1,362 |
PHP | 13 | 215 | 116 | 973 |
JavaScript | 2 | 52 | 32 | 230 |
SVG | 25 | 0 | 0 | 140 |
PO File | 1 | 43 | 47 | 116 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 28 | 58.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 41.67% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/image_contact1.png | 58.89KB | 20.87KB | ▼ 64.56% |
admin/img/image_contact.png | 47.61KB | 18.11KB | ▼ 61.97% |
admin/img/company-logo.png | 6.75KB | 2.70KB | ▼ 60.04% |
admin/img/dash-icon-16x16.png | 1.95KB | 0.69KB | ▼ 64.43% |
admin/img/metawash-icon.png | 1.88KB | 0.57KB | ▼ 69.69% |