Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/easy-pagespeed/EzOptions.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; EzBaseOption has a deprecated constructor
Server metrics [RAM: ▼1.70MB] [CPU: ▼49.15ms] Passed 4 tests
This is a short check of server-side resources used by Easy PageSpeed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.17 | 5.11 ▼33.46 |
Dashboard /wp-admin | 2.31 ▼1.00 | 6.35 ▼40.34 |
Posts /wp-admin/edit.php | 2.31 ▼1.05 | 7.70 ▼40.74 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.58 | 7.29 ▼82.05 |
Media Library /wp-admin/upload.php | 2.31 ▼0.92 | 5.79 ▼27.49 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy PageSpeed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.43 ▼0.32 | 2.32 ▲0.41 | 39.52 ▼6.82 |
Dashboard /wp-admin | 2,210 ▲25 | 5.90 ▼0.00 | 96.73 ▼3.23 | 36.94 ▼6.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 40.10 ▲2.46 | 33.94 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.41 ▼0.11 | 651.65 ▼35.37 | 56.23 ▼14.77 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.13 | 92.81 ▼24.84 | 41.38 ▼7.43 |
Easy PageSpeed Lite /wp-admin/easy-pagespeed.php | 26 | 0.44 | 0.07 | 14.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/easy-pagespeed/EzOptions.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; EzBaseOption has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 8× PHP files trigger server errors when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-pagespeed/myPlugins.php:300
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/easy-pagespeed/info-divs.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-pagespeed/PageSpeedBase.php on line 7
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/easy-pagespeed.php
- > Network (severe)
wp-admin/easy-pagespeed.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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 your attention:
- Screenshots: These screenshots do not have images: #1 (*Easy PageSpeed* admin page, showing the simple, single-page, easy-to-understand settings.), #2 (*Easy PageSpeed Pro* admin page, showing the extra features.), #3 (My blog performance with no CDN support.), #4 (My blog with *Easy PageSpeed* set up.)
easy-pagespeed/easy-pagespeed.php Passed 13 tests
"Easy PageSpeed" version 1.40's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
Easy PageSpeed is a light-weight and highly effective performance optimizer for your blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected3,044 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 257 | 118 | 1,928 |
JavaScript | 1 | 51 | 134 | 1,116 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 4 | 3.85% |
▷ Public methods | 104 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.20MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
screenshot-2.png | 48.29KB | 18.90KB | ▼ 60.87% |
screenshot-3.png | 52.58KB | 52.00KB | ▼ 1.08% |
ezsupport.png | 3.13KB | 2.01KB | ▼ 35.75% |