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.17MB] [CPU: ▼7.16ms] Passed 4 tests
An overview of server-side resources used by Open Lazy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 40.04 ▲0.68 |
Dashboard /wp-admin | 3.48 ▲0.17 | 43.56 ▼7.48 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 44.94 ▲0.93 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.45 ▼22.77 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.15 ▲3.04 |
Open Lazy /wp-admin/options-general.php?page=open-lazy | 3.37 | 35.86 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Open Lazy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.61 ▼0.70 | 1.70 ▼0.16 | 43.62 ▼8.70 |
Dashboard /wp-admin | 2,204 ▲19 | 5.86 ▲0.84 | 98.22 ▼7.24 | 36.60 ▼3.58 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.01 | 39.99 ▲2.65 | 34.81 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.21 ▼4.97 | 585.40 ▼37.98 | 70.46 ▲6.95 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.20 ▼0.01 | 97.57 ▼40.63 | 41.55 ▼10.64 |
Open Lazy /wp-admin/options-general.php?page=open-lazy | 1,196 | 1.70 | 27.87 | 25.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% 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 50% 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/open-lazy/open-lazy.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (PACK), #2 (HTML and UI), #3 (UNLOAD and EXTENSION)
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
open-lazy/open-lazy.php Passed 13 tests
The main PHP file in "Open Lazy" ver. 2.6 adds more information about the plugin and also serves as the entry point for this plugin
91 characters long description:
A handy toolkit can easily tweak up and speed up your wordpress, more simple, more natural.
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
Everything looks great! No dangerous files found in this plugin3,506 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 13 | 2,017 |
SVG | 1 | 0 | 0 | 640 |
PHP | 1 | 31 | 13 | 582 |
PO File | 2 | 125 | 142 | 267 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 38 | |
▷ Named functions | 30 | 78.95% |
▷ Anonymous functions | 8 | 21.05% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.90MB with 0.49MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 111.68KB | 44.70KB | ▼ 59.97% |
screenshot-3.png | 271.61KB | 123.59KB | ▼ 54.50% |
screenshot-1.png | 536.66KB | 273.93KB | ▼ 48.96% |