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
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.77ms] Passed 4 tests
A check of server-side resources used by Why So Slow?
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.19 | 39.49 ▼5.84 |
Dashboard /wp-admin | 3.50 ▲0.19 | 47.14 ▼2.66 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.23 ▼0.16 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 95.69 ▲4.52 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 34.52 ▲1.57 |
Why So Slow? /wp-admin/options-general.php?page=better-speed-settings | 3.37 | 30.91 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Why So Slow?: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.48 ▲0.08 | 1.63 ▼0.46 | 41.46 ▼11.24 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼0.04 | 100.84 ▼18.58 | 39.44 ▼3.87 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▼0.02 | 36.98 ▲0.79 | 33.73 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.17 ▲0.71 | 607.32 ▼48.30 | 52.77 ▼0.37 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.01 | 99.31 ▲3.74 | 39.59 ▼3.37 |
Why So Slow? /wp-admin/options-general.php?page=better-speed-settings | 1,516 | 2.02 | 37.60 | 61.40 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=better-speed-settings
- > Notice in wp-content/plugins/better-speed/better-speed.php+526
Undefined offset: 1
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/better-speed/better-speed.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: bloat, whysoslow, better, performance, security...
better-speed/better-speed.php 85% from 13 tests
"Why So Slow?" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected895 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 82 | 73 | 841 |
SVG | 1 | 0 | 0 | 40 |
JavaScript | 2 | 0 | 2 | 10 |
CSS | 1 | 2 | 6 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 74 | |
▷ Named functions | 50 | 67.57% |
▷ Anonymous functions | 24 | 32.43% |
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
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |