Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼5.32ms] Passed 4 tests
This is a short check of server-side resources used by Dashboard Option Menu Customize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.45 ▼1.27 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.13 ▼9.89 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.42 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.97 ▼8.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.44 ▼1.71 |
Dashboard menu Setting /wp-admin/options-general.php?page=dashboard_option_menu_customize | 3.23 | 29.69 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Dashboard Option Menu Customize
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.78 ▲0.40 | 1.86 ▲0.21 | 44.29 ▲3.22 |
Dashboard /wp-admin | 2,213 ▲22 | 5.84 ▲0.94 | 102.17 ▼0.69 | 37.26 ▼4.32 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.05 | 36.23 ▲0.05 | 35.40 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,517 ▼4 | 17.44 ▼5.94 | 657.58 ▼28.59 | 55.63 ▼21.92 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.25 ▲0.06 | 98.24 ▲0.05 | 41.99 ▼3.58 |
Dashboard menu Setting /wp-admin/options-general.php?page=dashboard_option_menu_customize | 1,027 | 2.06 | 23.54 | 25.05 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/dashboard-option-menu-customize/dashboard-option-menu-customize.php:29
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Interface in setting), #2 (Dashboard screen)
dashboard-option-menu-customize/dashboard-option-menu-customize.php Passed 13 tests
This is the main PHP file of "Dashboard Option Menu Customize" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
30 characters long description:
Customization options and help
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected249 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 41 | 195 |
PO File | 1 | 21 | 0 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 12.45KB | 5.31KB | ▼ 57.32% |
screenshot-2.png | 14.70KB | 5.70KB | ▼ 61.23% |