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.65MB] [CPU: ▼2.60ms] Passed 4 tests
A check of server-side resources used by WPEssential
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.67 | 46.54 ▲9.44 |
Dashboard /wp-admin | 3.95 ▲0.64 | 53.80 ▲9.45 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 53.07 ▲5.60 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 86.56 ▼25.41 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 42.23 ▼0.01 |
Server storage [IO: ▲8.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 377 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WPEssential: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 13.96 ▼0.30 | 8.81 ▲7.18 | 45.76 ▲3.65 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.15 | 110.44 ▲11.91 | 41.52 ▼3.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 34.67 ▼6.89 | 30.93 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,533 ▲3 | 23.35 ▲5.18 | 621.45 ▲14.71 | 50.56 ▼14.53 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▼0.03 | 98.28 ▼0.98 | 42.50 ▲1.42 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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 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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpessential/templates/general/after-sidebar.php
- > /wp-content/plugins/wpessential/templates/header/branding/login.php
- > /wp-content/plugins/wpessential/templates/header/branding/cart.php
- 133× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Fields\\Field' not found in wp-content/plugins/wpessential/inc/Fields/Date.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Fields\\Field' not found in wp-content/plugins/wpessential/inc/Fields/TextShadow.php:5
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Group_Control_Base' not found in wp-content/plugins/wpessential/inc/Builders/Elementor/Controls/Group/Posts.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Builders\\Elementor\\Shortcodes\\WooCommerce\\WCCategory' not found in wp-content/plugins/wpessential/inc/Builders/Elementor/Shortcodes/WooCommerce/ProductSingle.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wpessential/config/options/site-identity-tab.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpessential/inc/Builders/Elementor/Utility/Base.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Builders\\Elementor\\Shortcodes\\Forms\\FormCategory' not found in wp-content/plugins/wpessential/inc/Builders/Elementor/Shortcodes/Forms/WPForm.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Builders\\Elementor\\Utility\\Base' not found in wp-content/plugins/wpessential/inc/Builders/Elementor/Shortcodes/BlogPost/Post.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Fields\\Field' not found in wp-content/plugins/wpessential/inc/Fields/Heading.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPEssential\\Plugins\\Fields\\Field' not found in wp-content/plugins/wpessential/inc/Fields/Media.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
wpessential/wpessential.php 92% from 13 tests
The main file in "WPEssential" v. 1.0.0.00009 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 238 characters long)
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 plugin106,188 lines of code in 314 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 35 | 5,303 | 5,535 | 48,575 |
CSS | 34 | 7,620 | 92 | 30,707 |
PHP | 219 | 2,625 | 7,225 | 12,280 |
SVG | 4 | 1 | 12 | 9,039 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
JSON | 5 | 0 | 0 | 745 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 9 | |
Traits | 17 | |
Classes | 136 | |
▷ Abstract classes | 9 | 6.62% |
▷ Concrete classes | 127 | 93.38% |
▷ Final classes | 35 | 27.56% |
Methods | 800 | |
▷ Static methods | 227 | 28.38% |
▷ Public methods | 716 | 89.50% |
▷ Protected methods | 71 | 8.88% |
▷ Private methods | 13 | 1.62% |
Functions | 172 | |
▷ Named functions | 130 | 75.58% |
▷ Anonymous functions | 42 | 24.42% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/three-quarters-4.png | 2.13KB | 3.23KB | 0.00% |
assets/images/three-quarters-2.png | 2.64KB | 4.89KB | 0.00% |
assets/images/three-quarters-1.png | 2.28KB | 3.12KB | 0.00% |
assets/images/2cl.png | 2.91KB | 0.24KB | ▼ 91.79% |
assets/images/three-quarters-3.png | 25.49KB | 13.54KB | ▼ 46.88% |