Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-admin-formatter-customize-admin-panel/index.php+8
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.93ms] Passed 4 tests
Server-side resources used by WP Admin Formatter - Customize Admin Panel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.15 ▼36.81 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.01 ▼46.61 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.76 ▼38.78 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.20 ▼89.51 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.36 ▼27.69 |
Formatter Settings /wp-admin/options-general.php?page=wpaf_formatter_plugin_options | 2.05 | 5.54 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- The plugin illegally modified 4 files (0.00KB) outside of "wp-content/plugins/wp-admin-formatter-customize-admin-panel/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/wp-admin-formatter-customize-admin-panel/assets/banner-772\303\227250.png"
- (new file) "wp-content/plugins/wp-admin-formatter-customize-admin-panel/assets/icon-128\303\227128.png"
- (new file) "wp-content/plugins/wp-admin-formatter-customize-admin-panel/assets/icon-256\303\227256.png"
- (new file) "wp-content/plugins/wp-admin-formatter-customize-admin-panel/assets/banner-1544\303\227500.png"
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Admin Formatter - Customize Admin Panel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.38 ▼0.02 | 2.27 ▲0.41 | 42.73 ▲1.46 |
Dashboard /wp-admin | 2,220 ▲46 | 5.82 ▲0.22 | 86.48 ▼0.81 | 39.43 ▲0.95 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.30 ▲0.29 | 40.46 ▼0.16 | 33.91 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,545 ▲10 | 23.58 ▲5.15 | 626.05 ▲8.12 | 37.06 ▼34.51 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.57 ▲0.33 | 97.74 ▼5.72 | 42.13 ▼3.22 |
Formatter Settings /wp-admin/options-general.php?page=wpaf_formatter_plugin_options | 1,356 | 2.58 | 55.37 | 29.63 |
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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-admin-formatter-customize-admin-panel/index.php+8
Constant WP_DEBUG already defined
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wpaf_formatter_plugin_options
- > Notice in wp-content/plugins/wp-admin-formatter-customize-admin-panel/index.php+8
Constant WP_DEBUG already defined
- > GET request to /wp-admin/options-general.php?page=wpaf_formatter_plugin_options
- > Deprecated in wp-content/plugins/wp-admin-formatter-customize-admin-panel/index.php+255
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=wpaf_formatter_plugin_options
- > 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=wpaf_formatter_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-admin-formatter-customize-admin-panel/index.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=wpaf_formatter_plugin_options
- > Network (severe)
wp-content/plugins/featurePlugin/css/style.css?ver=6.3.1 - 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
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:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
wp-admin-formatter-customize-admin-panel/index.php 92% from 13 tests
The main PHP file in "WP Admin Formatter - Customize Admin Panel" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-admin-formatter-customize-admin-panel.php" instead of "index.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 plugin751 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 202 | 186 | 730 |
CSS | 1 | 2 | 1 | 18 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 1.52MB with 0.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772×250.png | 101.82KB | 31.36KB | ▼ 69.20% |
assets/screenshot-2.png | 76.46KB | 31.22KB | ▼ 59.17% |
assets/icon-128x128.png | 15.76KB | 5.05KB | ▼ 67.99% |
images/hs.png | 2.62KB | 7.54KB | 0.00% |
images/hv.png | 2.80KB | 7.32KB | 0.00% |