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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.86ms] Passed 4 tests
A check of server-side resources used by PBP Dashboard Changer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.48 ▼14.42 |
Dashboard /wp-admin | 3.36 ▲0.02 | 53.26 ▼7.95 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 55.95 ▲7.44 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 89.52 ▼16.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 50.21 ▲14.49 |
PBP DB Changer /wp-admin/options-general.php?page=pbp-dashboard-changer | 3.27 | 44.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by PBP Dashboard Changer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.23 ▼0.20 | 1.82 ▼0.67 | 42.35 ▼19.02 |
Dashboard /wp-admin | 2,207 ▲30 | 5.69 ▼0.00 | 93.51 ▼5.35 | 38.62 ▼6.98 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.31 ▲0.29 | 43.04 ▲6.31 | 32.88 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,539 ▼6 | 23.39 ▲0.17 | 684.51 ▲15.16 | 52.33 ▼4.24 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.31 ▲0.10 | 108.04 ▼0.96 | 43.53 ▲0.02 |
PBP DB Changer /wp-admin/options-general.php?page=pbp-dashboard-changer | 1,014 | 2.32 | 54.73 | 41.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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
- > GET request to /wp-admin/options-general.php?page=pbp-dashboard-changer
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=pbp-dashboard-changer
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pbp-dashboard-changer
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Please 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 screen_icon() in wp-content/plugins/pbp-dashboard-widget-cleaner/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/pbp-dashboard-widget-cleaner/panel.php:88
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/pbp-dashboard-widget-cleaner/panel.php:88
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: dashboard, wp dashboard customizer, customize dashboard, wordpress, dashboard changer...
pbp-dashboard-widget-cleaner/pbpdc.php 92% from 13 tests
The principal PHP file in "PBP Dashboard Changer" v. 2.2 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pbp-dashboard-widget-cleaner.php" instead of "pbpdc.php")
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
Everything looks great! No dangerous files found in this plugin505 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 114 | 73 | 291 |
CSS | 1 | 2 | 0 | 168 |
JavaScript | 2 | 14 | 12 | 46 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fold.png | 3.41KB | 0.73KB | ▼ 78.61% |