Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼24.23ms] Passed 4 tests
This is a short check of server-side resources used by MM Dashboard Customizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.75 ▲7.33 |
Dashboard /wp-admin | 3.00 ▼0.30 | 28.46 ▼17.39 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 41.64 ▼6.54 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 28.91 ▼70.15 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 30.24 ▼2.85 |
General Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=general | 3.00 | 29.55 |
Reset All Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=reset | 3.00 | 31.96 |
Login Page (wp-login.php) Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=login | 3.00 | 28.63 |
Header Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=header | 3.00 | 31.51 |
MM Dashboard Customizer /wp-admin/admin.php?page=mm-dashboard-customizer | 3.00 | 29.47 |
Widgets Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=widgets | 3.00 | 26.72 |
Footer Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=footer | 3.00 | 29.58 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by MM Dashboard Customizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲265 | 15.02 ▲0.62 | 1.76 ▼0.07 | 44.33 ▼5.74 |
Dashboard /wp-admin | 2,406 ▲218 | 6.59 ▲0.68 | 123.06 ▲14.98 | 39.06 ▼5.84 |
Posts /wp-admin/edit.php | 2,319 ▲230 | 3.47 ▲1.48 | 55.95 ▲15.48 | 32.41 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,566 ▲38 | 23.14 ▲5.11 | 678.63 ▲68.89 | 37.43 ▼18.00 |
Media Library /wp-admin/upload.php | 1,454 ▲66 | 4.35 ▲0.11 | 84.12 ▼20.49 | 41.07 ▼2.82 |
General Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=general | 1,107 | 3.32 | 42.88 | 30.60 |
Reset All Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=reset | 1,111 | 3.21 | 40.23 | 68.40 |
Login Page (wp-login.php) Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=login | 1,405 | 3.50 | 51.92 | 58.07 |
Header Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=header | 1,137 | 3.37 | 45.60 | 35.95 |
MM Dashboard Customizer /wp-admin/admin.php?page=mm-dashboard-customizer | 1,405 | 3.66 | 49.26 | 42.88 |
Widgets Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=widgets | 1,176 | 3.38 | 43.11 | 30.26 |
Footer Options /wp-admin/admin.php?page=mm-dashboard-customizer&tab=footer | 1,127 | 3.38 | 42.68 | 34.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 108 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mm-dashboard-customizer&tab=footer
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=mm-dashboard-customizer&tab=reset
- > Network (severe)
var/www/wordpress/wp-content/plugins/mm-dashboard-customizer/includes/src/images/loader.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
mm-dashboard-customizer/mm-dashboard-customizer.php 92% from 13 tests
The main file in "MM Dashboard Customizer" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)
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
Success! There were no dangerous files found in this plugin3,216 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 334 | 210 | 1,911 |
PHP | 5 | 202 | 218 | 775 |
CSS | 3 | 58 | 36 | 530 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin