Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.17ms] Passed 4 tests
Server-side resources used by Envo Companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.79 ▼5.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.20 ▼1.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.13 ▼1.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 101.11 ▲13.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 35.22 ▼0.19 |
Server storage [IO: ▲3.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
fresh_website_activate |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Envo Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲60 | 14.74 ▲0.55 | 1.73 ▼0.27 | 40.76 ▼2.59 |
Dashboard /wp-admin | 2,203 ▲18 | 5.79 ▼0.04 | 101.25 ▲2.57 | 41.65 ▼3.18 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.05 ▲0.02 | 33.10 ▼7.77 | 32.94 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 23.34 ▲4.86 | 652.93 ▲4.87 | 53.29 ▲3.15 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.29 ▲0.01 | 96.94 ▼1.28 | 41.87 ▼0.88 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- fresh_website_activate
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-carousel.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-portfolio.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-team.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-sponsor.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-funfact.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-testimonial.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-news.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-about.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-callout.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/envo-companion/inc/webenvo/front-page/index-service.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Requires php: Version format is invalid
envo-companion/envo-companion.php 92% from 13 tests
The entry point to "Envo Companion" version 0.0.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "4.0 tested up to 8.0.26")
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
Good job! No executable or dangerous file extensions detected2,500 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 12 | 24 | 1,623 |
PHP | 14 | 103 | 126 | 877 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 5.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 | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.61MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/webenvo/img/slider/arrow.png | 18.05KB | 9.16KB | ▼ 49.27% |
inc/webenvo/img/testimonial/quote.png | 0.56KB | 0.46KB | ▼ 18.25% |
inc/webenvo/img/clients/client-3.png | 35.46KB | 9.41KB | ▼ 73.48% |
inc/webenvo/img/demo-screenshots/webenvo.png | 339.82KB | 348.75KB | 0.00% |
inc/webenvo/img/service/service1.png | 8.94KB | 4.53KB | ▼ 49.31% |