Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.27MB] [CPU: ▼9.77ms] Passed 4 tests
This is a short check of server-side resources used by Warm Welcome
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 47.32 ▲7.38 |
Dashboard /wp-admin | 3.73 ▲0.43 | 52.89 ▲3.29 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 53.28 ▲8.15 |
Add New Post /wp-admin/post-new.php | 3.55 ▼2.33 | 39.14 ▼51.63 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.89 ▲1.90 |
Server storage [IO: ▲10.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 593 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Warm Welcome: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,327 ▲592 | 19.77 ▲5.52 | 30.08 ▲28.21 | 44.46 ▼8.81 |
Dashboard /wp-admin | 2,585 ▲403 | 9.62 ▲4.74 | 175.88 ▲70.94 | 40.75 ▼4.80 |
Posts /wp-admin/edit.php | 2,507 ▲421 | 6.64 ▲4.46 | 76.71 ▲41.81 | 30.07 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,613 ▲80 | 20.40 ▼2.90 | 681.64 ▲6.91 | 44.17 ▼6.28 |
Media Library /wp-admin/upload.php | 1,624 ▲236 | 7.11 ▲2.88 | 110.86 ▲2.12 | 39.92 ▼5.22 |
Warm Welcome /wp-admin/crb_carbon_fields_container_warm_welcome.php | 26 | 0.44 | 0.13 | 14.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/warm-welcome/templates/signature-widget.php
- 176× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Widget\\Widget' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Widget.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface' not found in wp-content/plugins/warm-welcome/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:22
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/templates/Container/comment_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Field/Separator_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Condition.php:30
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/warm-welcome/vendor/symfony/var-dumper/Tests/Caster/PdoCasterTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Container/Widget_Container.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/warm-welcome/vendor/htmlburger/carbon-fields/core/Service/Revisions_Service.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_warm_welcome.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_warm_welcome.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: widget logic, display widgets, widgets
warm-welcome/index.php 92% from 13 tests
The main PHP script in "Warm Welcome" version 1.0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("warm-welcome.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin55,432 lines of code in 530 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 239 | 4,004 | 8,798 | 18,731 |
JSON | 11 | 0 | 0 | 16,890 |
JavaScript | 187 | 5,351 | 8,735 | 13,740 |
PO File | 26 | 819 | 1,020 | 2,202 |
Sass | 48 | 335 | 0 | 1,753 |
CSS | 9 | 337 | 1,144 | 1,675 |
Markdown | 7 | 259 | 0 | 411 |
XML | 1 | 3 | 0 | 28 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 8 | |
Traits | 1 | |
Classes | 190 | |
▷ Abstract classes | 19 | 10.00% |
▷ Concrete classes | 171 | 90.00% |
▷ Final classes | 2 | 1.17% |
Methods | 1,285 | |
▷ Static methods | 228 | 17.74% |
▷ Public methods | 1,080 | 84.05% |
▷ Protected methods | 183 | 14.24% |
▷ Private methods | 22 | 1.71% |
Functions | 185 | |
▷ Named functions | 87 | 47.03% |
▷ Anonymous functions | 98 | 52.97% |
Constants | 60 | |
▷ Global constants | 10 | 16.67% |
▷ Class constants | 50 | 83.33% |
▷ Public constants | 50 | 100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/assets/ico-web.png | 1.35KB | 0.52KB | ▼ 61.27% |
resources/assets/ico-arrow.png | 1.16KB | 0.33KB | ▼ 71.96% |
resources/assets/ico-phone.png | 1.28KB | 0.39KB | ▼ 69.19% |
resources/assets/block-screenshot.png | 3.89KB | 1.39KB | ▼ 64.23% |