Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼140.70ms] Passed 4 tests
This is a short check of server-side resources used by WP Auto Reload Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.32 ▲0.60 | 49.69 ▲24.42 |
Dashboard /wp-admin | 3.58 ▲0.52 | 57.92 ▲1.78 |
Posts /wp-admin/edit.php | 3.63 ▲0.52 | 59.31 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.87 ▲0.44 | 101.49 ▼578.64 |
Media Library /wp-admin/upload.php | 3.46 ▲0.46 | 54.51 ▲14.42 |
Auto Reload Widget Settings /wp-admin/options-general.php?page=options-general.php_auto_reload_widget_settings | 3.42 | 37.12 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP Auto Reload Widgets: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.22 ▲0.48 | 13.56 ▼0.68 | 50.04 ▲0.59 |
Dashboard /wp-admin | 2,972 ▲41 | 5.88 ▼0.26 | 166.42 ▼9.94 | 123.20 ▼2.23 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 74.67 ▼5.29 | 93.70 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,584 ▼99 | 17.20 ▲0.99 | 514.99 ▲74.62 | 134.20 ▲12.07 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.00 | 196.15 ▲33.09 | 136.71 ▲3.23 |
Auto Reload Widget Settings /wp-admin/options-general.php?page=options-general.php_auto_reload_widget_settings | 1,302 | 2.62 | 69.47 | 101.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=options-general.php_auto_reload_widget_settings
- > Warning in wp-content/plugins/wp-auto-reload-widgets/admin-page-class/admin-page-class.php+1398
count(): Parameter must be an array or an object that implements Countable
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-auto-reload-widgets/Wp-auto-reload-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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 to be fixed:
- Screenshots: These screenshots require images: #1 (Screenshot of Widget settings ( Step 1 )), #2 (Auto Reload Wigets settings ( Step 2 ))
- Tested up to: Invalid plugin version format
- Requires at least: Invalid plugin version format
wp-auto-reload-widgets/Wp-auto-reload-widget.php 92% from 13 tests
This is the main PHP file of "WP Auto Reload Widgets" version 10.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-auto-reload-widgets.php" instead of "Wp-auto-reload-widget.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
There were no executable files found in this plugin12,215 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 949 | 969 | 7,600 |
PHP | 3 | 359 | 1,370 | 2,019 |
CSS | 9 | 304 | 239 | 1,937 |
PO File | 4 | 276 | 352 | 659 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 193.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 379.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 133 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 130 | 97.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.26% |
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
PNG files should be compressed to save space and minimize bandwidth usage
24 PNG files occupy 0.13MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin-page-class/images/add.png | 1.84KB | 1.49KB | ▼ 19.11% |
admin-page-class/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
admin-page-class/css/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin-page-class/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin-page-class/images/edit.png | 1.54KB | 1.38KB | ▼ 10.34% |