Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲3.88MB] [CPU: ▲12.81ms] Passed 4 tests
A check of server-side resources used by Envo Extra
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.32 ▲3.85 | 58.78 ▲16.57 |
Dashboard /wp-admin | 7.25 ▲3.90 | 61.11 ▼1.73 |
Posts /wp-admin/edit.php | 7.27 ▲3.91 | 62.01 ▲14.61 |
Add New Post /wp-admin/post-new.php | 9.73 ▲3.84 | 118.46 ▲24.13 |
Media Library /wp-admin/upload.php | 7.25 ▲4.02 | 57.57 ▲21.78 |
Install Demos /wp-admin/themes.php?page=envothemes-panel-install-demos | 7.39 | 48.38 |
Server storage [IO: ▲5.76MB] [DB: ▲0.24MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 523 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Envo Extra
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲135 | 13.42 ▼0.94 | 9.19 ▲7.63 | 41.48 ▲4.10 |
Dashboard /wp-admin | 2,201 ▲24 | 5.60 ▼0.01 | 84.14 ▼15.80 | 37.69 ▼5.39 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.00 | 38.67 ▲0.63 | 30.63 ▼5.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.05 ▲0.05 | 624.95 ▼61.62 | 54.24 ▲2.28 |
Media Library /wp-admin/upload.php | 1,409 ▲15 | 4.17 ▼0.02 | 96.87 ▼4.10 | 42.33 ▼2.52 |
Install Demos /wp-admin/themes.php?page=envothemes-panel-install-demos | 1,130 | 2.32 | 30.04 | 32.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.24MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/envo-extra/controls/responsive-devices/control-responsive-devices-typography.php
- > /wp-content/plugins/envo-extra/controls/responsive-devices/control-responsive-devices.php
- 80× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\ReactSelect' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-select/src/Field/Select.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Radio' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-radio/src/Field/Radio_Buttonset.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Control\\Base' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-sortable/src/Control/Sortable.php:19
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Select' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-select/src/Field/Dropdown_Pages.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Control\\Base' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-color-palette/src/Control/Color_Palette.php:22
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/field-background/src/Background.php:22
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Checkbox' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-checkbox/src/Field/Checkbox_Toggle.php:16
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-sortable/src/Field/Sortable.php:20
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/envo-extra/include/packages/kirki-framework/control-dashicons/src/Field/Dashicons.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki' not found in wp-content/plugins/envo-extra/options/pro.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
There were not plugin tags detected
envo-extra/envo-extra.php 92% from 13 tests
The main file in "Envo Extra" v. 1.8.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.9" instead of "3.3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin62,640 lines of code in 393 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 192 | 4,923 | 11,101 | 32,091 |
JSON | 38 | 0 | 0 | 11,626 |
JavaScript | 98 | 2,093 | 2,674 | 11,396 |
CSS | 36 | 173 | 53 | 6,299 |
Markdown | 27 | 208 | 0 | 1,110 |
SVG | 1 | 0 | 0 | 91 |
YAML | 1 | 7 | 0 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 196.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 157 | |
▷ Abstract classes | 1 | 0.64% |
▷ Concrete classes | 156 | 99.36% |
▷ Final classes | 11 | 7.05% |
Methods | 725 | |
▷ Static methods | 142 | 19.59% |
▷ Public methods | 579 | 79.86% |
▷ Protected methods | 114 | 15.72% |
▷ Private methods | 32 | 4.41% |
Functions | 122 | |
▷ Named functions | 84 | 68.85% |
▷ Anonymous functions | 38 | 31.15% |
Constants | 15 | |
▷ Global constants | 14 | 93.33% |
▷ Class constants | 1 | 6.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.41MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/envothemes-demo-import/img/et-logo.png | 0.49KB | 0.33KB | ▼ 33.53% |
lib/envothemes-demo-import/img/envo-shopper.png | 73.10KB | 21.66KB | ▼ 70.38% |
include/assets/images/kirki-bottom.png | 1.51KB | 1.09KB | ▼ 27.89% |
include/assets/images/1c.png | 0.77KB | 0.15KB | ▼ 80.03% |
lib/envothemes-demo-import/img/envo-marketplace.png | 93.53KB | 30.03KB | ▼ 67.89% |