Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.24ms] Passed 4 tests
This is a short check of server-side resources used by Easy Shuffle Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.74 ▼1.64 |
Dashboard /wp-admin | 3.49 ▲0.19 | 49.26 ▼0.53 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 47.92 ▲0.48 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 91.35 ▼3.26 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.70 ▲2.49 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_easy-shuffle-widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Shuffle Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼0.91 | 4.48 ▲2.32 | 40.20 ▼10.02 |
Dashboard /wp-admin | 2,207 ▲16 | 5.84 ▼0.04 | 109.24 ▲1.13 | 39.16 ▼7.86 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.01 ▼0.14 | 39.04 ▲2.38 | 34.32 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,527 ▼15 | 18.03 ▼0.20 | 593.02 ▼34.99 | 55.26 ▼7.47 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.21 ▼0.01 | 98.14 ▼0.66 | 44.58 ▲5.16 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_easy-shuffle-widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Easy_Shuffle_Widget_Fields' not found in wp-content/plugins/easy-shuffle-widget/inc/widget-form.php:21
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: random, comments, users, widget, users-widget...
easy-shuffle-widget/easy-shuffle-widget.php 92% from 13 tests
Analyzing the main PHP file in "Easy Shuffle Widget" version 1.0
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/lang" does not exist
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 plugin1,452 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 450 | 965 | 1,092 |
CSS | 3 | 44 | 5 | 219 |
JavaScript | 2 | 51 | 62 | 106 |
Markdown | 1 | 21 | 0 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 24.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 42 | 67.74% |
▷ Public methods | 60 | 96.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.23% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected