Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼7.16ms] Passed 4 tests
An overview of server-side resources used by Plugin Name: Lazy Loading images & speed page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.42 ▼1.80 |
Dashboard /wp-admin | 3.99 ▲0.65 | 57.14 ▼8.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.63 ▲2.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.44 ▼19.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.25 ▲0.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.12MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: Lazy Loading images & speed page
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲150 | 14.34 ▼0.01 | 2.79 ▲1.10 | 37.78 ▼6.00 |
Dashboard /wp-admin | 2,277 ▲97 | 5.63 ▼0.07 | 89.72 ▼9.64 | 55.80 ▲10.87 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.06 | 38.63 ▼0.56 | 32.64 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,526 ▼18 | 23.39 ▼1.61 | 652.03 ▼1.67 | 56.57 ▼10.86 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.16 ▼0.00 | 98.08 ▼0.59 | 41.23 ▼2.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.12MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lazy-loading-images-speed-page/index.php:20
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: Lazy Loading images & speed page===
) - Donate link: Please fix this invalid URI: ""
lazy-loading-images-speed-page/index.php 92% from 13 tests
This is the main PHP file of "Plugin Name: Lazy Loading images & speed page" version 2.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("lazy-loading-images-speed-page.php" instead of "index.php")
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 detected334 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 56 | 78 | 209 |
PHP | 1 | 18 | 38 | 69 |
CSS | 1 | 1 | 4 | 56 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 6 | |
▷ Named functions | 6 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin