Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.77ms] Passed 4 tests
Analyzing server-side resources used by Experto Custom Dashboard - Custom Dashboard, Dashboard Customization, Dashboard, My Account Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.53 ▼8.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.61 ▼2.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.75 ▲6.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.33 ▼2.04 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Experto Custom Dashboard - Custom Dashboard, Dashboard Customization, Dashboard, My Account Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.21 ▼1.43 | 1.73 ▼0.22 | 41.47 ▼4.36 |
Dashboard /wp-admin | 2,206 ▲32 | 4.88 ▼0.01 | 105.74 ▼9.51 | 39.99 ▼7.00 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.05 | 36.59 ▼0.08 | 33.03 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.68 ▲1.24 | 601.78 ▼76.47 | 57.20 ▲10.62 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.18 ▼0.07 | 95.28 ▼16.91 | 42.73 ▼3.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 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 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/experto-custom-dashboard/admin/partials/ewc-admin-settings.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_orders() in wp-content/plugins/experto-custom-dashboard/public/partials/ewc-wc-account-dashboard.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/experto-custom-dashboard/templates/ewc-template.php:7
- > 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 86% 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in experto-custom-dashboard/assets to your readme.txt
experto-custom-dashboard/ewc.php 77% from 13 tests
The main file in "Experto Custom Dashboard - Custom Dashboard, Dashboard Customization, Dashboard, My Account Plugin" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.5.4" instead of "3.3.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("experto-custom-dashboard.php" instead of "ewc.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
Good job! No executable or dangerous file extensions detected3,693 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 194 | 24 | 2,293 |
PHP | 15 | 242 | 203 | 848 |
JavaScript | 2 | 135 | 59 | 353 |
SVG | 1 | 0 | 0 | 199 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/cwd-icon.png | 6.70KB | 3.34KB | ▼ 50.06% |
templates/woocommerce/myaccount/logo-uxdesignexperts.png | 13.72KB | 3.83KB | ▼ 72.06% |