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 gracefully, with no errors
Server metrics [RAM: ▼0.07MB] [CPU: ▼10.09ms] Passed 4 tests
A check of server-side resources used by My shared widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.62 | 15.93 ▼25.50 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.04 ▼2.50 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 44.73 ▼1.19 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 84.83 ▼10.47 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.29 ▼1.89 |
My shared widgets /wp-admin/edit.php?post_type=eelv_widget | 3.38 | 34.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by My shared widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.24 ▼1.13 | 1.58 ▼0.15 | 39.35 ▼0.87 |
Dashboard /wp-admin | 2,217 ▲25 | 4.89 ▼0.08 | 97.10 ▼10.51 | 38.79 ▼6.44 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.03 ▲0.01 | 35.09 ▼3.04 | 32.03 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.38 ▲0.04 | 581.23 ▼108.98 | 55.63 ▲4.16 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.25 ▲0.04 | 100.77 ▼2.24 | 40.31 ▼4.10 |
My shared widgets /wp-admin/edit.php?post_type=eelv_widget | 1,080 | 1.97 | 30.66 | 28.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=eelv_widget
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/eelv-my-widgets/widgets.php+99
Trying to get property 'Auto_increment' of non-object
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eelv-my-widgets/widgets.php:28
- > 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 83% 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
Attributes that require attention:
- Donate link: Invalid URI ("")
- Screenshots: Add images for these screenshots: #1 (Editor), #2 (List of widgets)
- Screenshots: These screenshots lack descriptions #0, #0 in eelv-my-widgets/assets to your readme.txt
eelv-my-widgets/widgets.php 85% from 13 tests
The primary PHP file in "My shared widgets" version 1.7.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eelv-my-widgets.php" instead of "widgets.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin463 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 46 | 329 |
PO File | 1 | 50 | 68 | 103 |
JavaScript | 1 | 0 | 1 | 19 |
CSS | 1 | 2 | 0 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin