Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.35ms] Passed 4 tests
Analyzing server-side resources used by Easy Widget Columns
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 26.09 ▼18.30 |
Dashboard /wp-admin | 3.35 ▲0.00 | 49.20 ▼16.45 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.85 ▲6.08 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 98.14 ▼12.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 55.06 ▲16.61 |
Widget Columns /wp-admin/options-general.php?page=easy-widget-columns | 3.30 | 33.24 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_ewc-row-divider |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_ewc-subrow-divider |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Easy Widget Columns: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.23 ▼0.05 | 1.83 ▼0.12 | 43.44 ▼1.95 |
Dashboard /wp-admin | 2,201 ▲27 | 5.63 ▲0.11 | 92.19 ▲5.24 | 41.83 ▼4.29 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 2.00 ▼0.03 | 40.72 ▼0.03 | 35.28 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.21 ▼0.40 | 634.08 ▼35.21 | 61.60 ▲6.62 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.21 ▲0.00 | 103.46 ▲0.94 | 44.67 ▼1.94 |
Widget Columns /wp-admin/options-general.php?page=easy-widget-columns | 894 | 2.00 | 23.82 | 33.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_ewc-row-divider
- widget_theysaidso_widget
- widget_ewc-subrow-divider
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/easy-widget-columns/admin/partials/easy-widget-columns-admin-display.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-widget-columns/widgets/class-ewc-subrow-divider.php:22
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-widget-columns/widgets/class-ewc-row-divider.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-widget-columns/admin/partials/easy-widget-columns-widget-form.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
easy-widget-columns/easy-widget-columns.php Passed 13 tests
"Easy Widget Columns" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
42 characters long description:
Easily display widgets in rows of columns.
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
Good job! No executable or dangerous file extensions detected6,377 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,151 | 317 | 4,389 |
PHP | 14 | 316 | 802 | 1,019 |
CSS | 4 | 138 | 21 | 755 |
PO File | 1 | 72 | 78 | 191 |
SVG | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 84.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 15.69% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG images were found in this plugin