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
Installer ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▼3.19ms] Passed 4 tests
A check of server-side resources used by Echelon Widgets for SiteOrigin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.80 | 41.30 ▼0.37 |
Dashboard /wp-admin | 4.09 ▲0.75 | 53.03 ▼12.67 |
Posts /wp-admin/edit.php | 4.14 ▲0.79 | 53.52 ▲0.86 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.81 | 93.89 ▼0.59 |
Media Library /wp-admin/upload.php | 4.02 ▲0.79 | 43.66 ▲7.55 |
Categories /wp-admin/edit-tags.php?taxonomy=echelonso_layout_cat&post_type=echelonso_layout | 4.01 | 43.76 |
Add New /wp-admin/post-new.php?post_type=echelonso_layout | 4.14 | 61.88 |
Echelon Layouts /wp-admin/edit.php?post_type=echelonso_layout | 4.06 | 44.72 |
Tags /wp-admin/edit-tags.php?taxonomy=echelonso_layout_tag&post_type=echelonso_layout | 4.01 | 38.67 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 135 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Echelon Widgets for SiteOrigin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,240 ▲494 | 14.67 ▲0.38 | 18.57 ▲16.49 | 40.65 ▼8.15 |
Dashboard /wp-admin | 2,265 ▲80 | 5.01 ▼0.81 | 110.99 ▲6.95 | 38.49 ▼5.52 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.34 ▲0.34 | 42.01 ▲4.93 | 34.66 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,565 ▲33 | 21.09 ▼2.14 | 680.63 ▲63.87 | 31.58 ▼23.20 |
Media Library /wp-admin/upload.php | 1,453 ▲62 | 4.38 ▲0.17 | 113.11 ▲12.35 | 48.38 ▲1.04 |
Categories /wp-admin/edit-tags.php?taxonomy=echelonso_layout_cat&post_type=echelonso_layout | 1,335 | 2.07 | 36.89 | 30.05 |
Add New /wp-admin/post-new.php?post_type=echelonso_layout | 2,376 | 7.99 | 182.61 | 61.56 |
Echelon Layouts /wp-admin/edit.php?post_type=echelonso_layout | 1,136 | 2.26 | 37.39 | 28.07 |
Tags /wp-admin/edit-tags.php?taxonomy=echelonso_layout_tag&post_type=echelonso_layout | 1,304 | 2.08 | 32.02 | 28.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/echelon-so/widgets/eso-video/tpl/default.php
- 87× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/echelon-so/widgets-woo/eso-product-box/eso-product-box.php:11
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/echelon-so/widgets/eso-divider/eso-divider.php:11
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/echelon-so/widgets/eso-comment/eso-comment.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/echelon-so/widgets/eso-modal/tpl/default.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/echelon-so/widgets/eso-off-canvas/tpl/default.php:1
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/echelon-so/widgets/eso-smooth-scroll/eso-smooth-scroll.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/echelon-so/widgets/eso-card/tpl/sub_title.php:1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/echelon-so/widgets/eso-filter/tpl/default.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/echelon-so/widgets/eso-lightbox-gallery/tpl/default.php:1
- > PHP Notice
Undefined variable: trigger_distance in wp-content/plugins/echelon-so/widgets/eso-radial/tpl/icon.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
There were not plugin tags detected
echelon-so/echelon-so.php Passed 13 tests
The main PHP script in "Echelon Widgets for SiteOrigin" version 2.0.8 is automatically included on every request by WordPress
72 characters long description:
UIkit powered widgets, features and presets for SiteOrigin Page Builder.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin18,305 lines of code in 132 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 2,491 | 1,288 | 9,389 |
CSS | 2 | 14 | 9 | 7,947 |
LESS | 25 | 62 | 0 | 790 |
JavaScript | 3 | 66 | 63 | 179 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 23.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 54 | 100.00% |
▷ Final classes | 20 | 37.04% |
Methods | 350 | |
▷ Static methods | 172 | 49.14% |
▷ Public methods | 344 | 98.29% |
▷ Protected methods | 4 | 1.14% |
▷ Private methods | 2 | 0.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/widget-icon.png | 0.73KB | 0.35KB | ▼ 52.47% |
custom-fields/alpha-color-picker/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |