Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.40MB] [CPU: ▼3.48ms] 75% from 4 tests
A check of server-side resources used by Helper Lite for PageSpeed
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,495.79ms on /wp-admin/admin.php?page=wp-booster)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 39.19 ▼7.73 |
Dashboard /wp-admin | 3.77 ▲0.46 | 53.68 ▲8.04 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 57.15 ▲6.13 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 88.90 ▼8.37 |
Media Library /wp-admin/upload.php | 3.61 ▲0.37 | 37.82 ▼3.95 |
WP Booster /wp-admin/admin.php?page=wp-booster | 3.81 | 1,495.79 |
🛠️PageSpeed Helper /wp-admin/admin.php?page=hlfp-settings | 3.61 | 39.80 |
Server storage [IO: ▲0.25MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 11 new options
New WordPress options |
---|
hlfp_help |
hlfp_other_plugins |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
hlfp_scripts |
widget_recent-comments |
hlfp_settings |
hlfp_images |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Helper Lite for PageSpeed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲199 | 15.02 ▲0.73 | 1.70 ▼0.54 | 46.13 ▼5.07 |
Dashboard /wp-admin | 2,371 ▲180 | 6.60 ▲1.49 | 135.31 ▲23.72 | 120.32 ▲74.67 |
Posts /wp-admin/edit.php | 2,310 ▲221 | 3.63 ▲1.59 | 58.18 ▲6.69 | 87.65 ▲47.49 |
Add New Post /wp-admin/post-new.php | 1,559 ▲18 | 23.16 ▼0.03 | 642.60 ▼63.23 | 37.23 ▼18.72 |
Media Library /wp-admin/upload.php | 1,449 ▲61 | 4.38 ▲0.18 | 85.35 ▼25.56 | 81.07 ▲32.99 |
WP Booster /wp-admin/admin.php?page=wp-booster | 1,856 | 3.65 | 55.16 | 106.55 |
🛠️PageSpeed Helper /wp-admin/admin.php?page=hlfp-settings | 1,847 | 3.57 | 52.70 | 105.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 detected upon uninstall: 11 options
- widget_recent-posts
- widget_recent-comments
- hlfp_help
- can_compress_scripts
- hlfp_other_plugins
- theysaidso_admin_options
- hlfp_scripts
- hlfp_images
- hlfp_settings
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/helper-lite-for-pagespeed/helper-lite-for-pagespeed.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Karenina\\HelperLightForPageSpeed\\Filter\\BaseFilter' not found in wp-content/plugins/helper-lite-for-pagespeed/src/filter/class-buffer-filter.php:17
- > PHP Fatal error
Uncaught Error: Class 'Karenina\\HelperLightForPageSpeed\\Filter\\BaseFilter' not found in wp-content/plugins/helper-lite-for-pagespeed/src/filter/class-light-filter.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
helper-lite-for-pagespeed/helper-lite-for-pagespeed.php 92% from 13 tests
"Helper Lite for PageSpeed" version 3.1.6.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 236 characters long)
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 plugin2,130 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 444 | 1,175 | 1,989 |
PO File | 2 | 18 | 20 | 100 |
JavaScript | 2 | 9 | 0 | 36 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 15.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 19 | 16.10% |
▷ Public methods | 108 | 91.53% |
▷ Protected methods | 3 | 2.54% |
▷ Private methods | 7 | 5.93% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon_coffe_logo.png | 74.07KB | 24.04KB | ▼ 67.54% |
img/karenina.png | 21.21KB | 8.42KB | ▼ 60.33% |