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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.18ms] Passed 4 tests
Server-side resources used by LazyLoad Plugin – Lazy Load Images, Videos, and Iframes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.49 ▼4.76 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.01 ▼10.46 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 44.12 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.89 ▲1.63 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.01 ▲0.01 |
LazyLoad /wp-admin/options-general.php?page=rocket_lazyload | 3.32 | 31.05 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 193 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for LazyLoad Plugin – Lazy Load Images, Videos, and Iframes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.66 ▼0.98 | 1.91 ▼0.15 | 43.77 ▼4.87 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.95 | 98.67 ▼7.94 | 39.62 ▼2.37 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.05 | 36.51 ▼1.22 | 35.10 ▲5.22 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.18 ▼5.29 | 627.02 ▼1.96 | 54.97 ▼0.55 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.19 ▼0.05 | 96.22 ▼2.50 | 42.00 ▼2.97 |
LazyLoad /wp-admin/options-general.php?page=rocket_lazyload | 998 | 2.34 | 23.62 | 76.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rocket-lazy-load/src/Options/Options.php
- > /wp-content/plugins/rocket-lazy-load/src/Admin/AdminPage.php
- > /wp-content/plugins/rocket-lazy-load/rocket-lazy-load.php
- > /wp-content/plugins/rocket-lazy-load/views/admin-page.php
- > /wp-content/plugins/rocket-lazy-load/src/Subscriber/ImagifyNoticeSubscriber.php
- > /wp-content/plugins/rocket-lazy-load/src/EventManagement/EventManager.php
- > /wp-content/plugins/rocket-lazy-load/views/imagify-notice.php
- > /wp-content/plugins/rocket-lazy-load/src/rocket-lazyload-requirements-check.php
- > /wp-content/plugins/rocket-lazy-load/main.php
- 130× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:4
- > PHP Fatal error
Uncaught Error: Interface 'RocketLazyLoadPlugin\\Dependencies\\Psr\\Container\\ContainerInterface' not found in wp-content/plugins/rocket-lazy-load/src/Dependencies/Interop/Container/ContainerInterface.php:13
- > PHP Fatal error
Uncaught Error: Interface 'RocketLazyLoadPlugin\\Dependencies\\League\\Container\\ImmutableContainerAwareInterface' not found in wp-content/plugins/rocket-lazy-load/src/Dependencies/League/Container/Inflector/InflectorAggregateInterface.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocket-lazy-load/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'RocketLazyLoadPlugin\\Dependencies\\League\\Container\\ImmutableContainerAwareInterface' not found in wp-content/plugins/rocket-lazy-load/src/Dependencies/League/Container/Definition/DefinitionFactoryInterface.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
rocket-lazy-load/rocket-lazy-load.php 92% from 13 tests
The entry point to "LazyLoad Plugin – Lazy Load Images, Videos, and Iframes" version 2.3.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected7,808 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 172 | 1,325 | 3,138 | 5,616 |
JavaScript | 6 | 277 | 30 | 1,383 |
JSON | 4 | 0 | 0 | 433 |
CSS | 1 | 49 | 14 | 375 |
SVG | 1 | 0 | 0 | 1 |
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.35 |
Average class complexity | 4.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 22 | |
Traits | 3 | |
Classes | 136 | |
▷ Abstract classes | 5 | 3.68% |
▷ Concrete classes | 131 | 96.32% |
▷ Final classes | 0 | 0.00% |
Methods | 352 | |
▷ Static methods | 18 | 5.11% |
▷ Public methods | 273 | 77.56% |
▷ Protected methods | 36 | 10.23% |
▷ Private methods | 43 | 12.22% |
Functions | 12 | |
▷ Named functions | 3 | 25.00% |
▷ Anonymous functions | 9 | 75.00% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 100.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
6 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/youtube.png | 0.65KB | 1.07KB | 0.00% |
assets/img/wprocket@2x.png | 14.79KB | 8.51KB | ▼ 42.42% |
assets/img/logo-imagify.png | 7.08KB | 7.78KB | 0.00% |
assets/img/logo.png | 8.53KB | 5.80KB | ▼ 32.07% |
assets/img/wprocket.png | 6.78KB | 4.43KB | ▼ 34.66% |