Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.94ms] Passed 4 tests
An overview of server-side resources used by My Style Anytime
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 34.08 ▼8.13 |
Dashboard /wp-admin | 3.49 ▲0.19 | 50.23 ▲0.91 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 52.18 ▲0.43 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 89.88 ▼12.98 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.97 ▲7.64 |
Settings /wp-admin/admin.php?page=mysat_settings_page | 3.38 | 30.57 |
General /wp-admin/admin.php?page=my-style-anytime | 3.38 | 33.20 |
Help /wp-admin/admin.php?page=mysat_help_page | 3.38 | 29.76 |
Security /wp-admin/admin.php?page=mysat_security_page | 3.38 | 35.22 |
Manage Style /wp-admin/plugin-editor.php?file=my-style-anytime%2Fstyles%2Fadministrator-style.css&plugin=my-style-anytime%2Fmy-style-anytime.php | 3.22 | 23.16 |
Customization /wp-admin/admin.php?page=mysat_custom_page | 3.38 | 31.82 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (4.22KB) outside of "wp-content/plugins/my-style-anytime/" and "wp-content/uploads/"
- (modified) wp-config.php
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
My Style Anytime: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲78 | 13.24 ▼1.01 | 1.57 ▼0.58 | 38.41 ▼6.13 |
Dashboard /wp-admin | 2,253 ▲65 | 4.86 ▼1.01 | 114.02 ▼3.34 | 43.64 ▼4.12 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.05 ▲0.05 | 37.56 ▼4.16 | 35.01 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.22 ▼0.04 | 679.70 ▼26.37 | 61.13 ▲5.03 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.22 ▲0.01 | 105.64 ▲5.30 | 41.53 ▲0.18 |
Settings /wp-admin/admin.php?page=mysat_settings_page | 853 | 2.02 | 27.32 | 30.84 |
General /wp-admin/admin.php?page=my-style-anytime | 861 | 2.02 | 28.80 | 44.87 |
Help /wp-admin/admin.php?page=mysat_help_page | 1,065 | 2.02 | 23.60 | 46.94 |
Security /wp-admin/admin.php?page=mysat_security_page | 827 | 2.07 | 27.71 | 29.00 |
Manage Style /wp-admin/plugin-editor.php?file=my-style-anytime%2Fstyles%2Fadministrator-style.css&plugin=my-style-anytime%2Fmy-style-anytime.php | 28 | 0.44 | 0.07 | 3.71 |
Customization /wp-admin/admin.php?page=mysat_custom_page | 845 | 2.02 | 23.64 | 25.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please take a closer look at the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-purpl.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-custom.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-help.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-surpl.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-security.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-style-anytime/includes/mysat-general.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/plugin-editor.php?file=my-style-anytime%2Fstyles%2Fadministrator-style.css&plugin=my-style-anytime%2Fmy-style-anytime.php
- > Network (severe)
wp-admin/plugin-editor.php?file=my-style-anytime%2Fstyles%2Fadministrator-style.css&plugin=my-style-anytime%2Fmy-style-anytime.php - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
my-style-anytime/my-style-anytime.php 92% from 13 tests
The entry point to "My Style Anytime" version 1.2.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 437 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,891 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,615 | 627 | 1,138 |
PHP | 8 | 361 | 119 | 753 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 49 | |
▷ Named functions | 47 | 95.92% |
▷ Anonymous functions | 2 | 4.08% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/Plesk-file-manager.png | 79.97KB | 24.51KB | ▼ 69.35% |
assets/img/cPanel-file-manager.png | 16.07KB | 5.41KB | ▼ 66.36% |
assets/img/Note_pad_pp_logo.png | 33.25KB | 13.25KB | ▼ 60.15% |