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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.30ms] Passed 4 tests
An overview of server-side resources used by Custom Welcome Guide
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.12 ▼0.14 |
Dashboard /wp-admin | 3.38 ▲0.03 | 44.89 ▼14.24 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.16 ▲1.65 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 81.68 ▼11.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.49 ▲0.63 |
All Guides /wp-admin/edit.php?post_type=guides | 3.35 | 34.91 |
Settings /wp-admin/edit.php?post_type=guides&page=custom_welcome_guide | 3.27 | 30.49 |
Add New /wp-admin/post-new.php?post_type=guides | 6.00 | 75.94 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
cwg_options |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Welcome Guide
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 16.98 ▲2.80 | 1.60 ▼0.33 | 43.27 ▲6.37 |
Dashboard /wp-admin | 2,272 ▲95 | 7.89 ▲2.23 | 196.63 ▲106.76 | 43.47 ▲3.03 |
Posts /wp-admin/edit.php | 2,211 ▲114 | 6.60 ▲4.61 | 77.68 ▲41.11 | 35.81 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,769 ▲243 | 25.14 ▲2.05 | 586.63 ▼81.58 | 41.15 ▼13.40 |
Media Library /wp-admin/upload.php | 1,561 ▲161 | 9.22 ▲4.99 | 131.39 ▲37.09 | 42.61 ▼5.10 |
All Guides /wp-admin/edit.php?post_type=guides | 1,177 | 7.35 | 71.31 | 26.94 |
Settings /wp-admin/edit.php?post_type=guides&page=custom_welcome_guide | 992 | 7.14 | 96.01 | 30.54 |
Add New /wp-admin/post-new.php?post_type=guides | 6,288 | 24.36 | 838.81 | 32.44 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- cwg_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/custom-welcome-guide/index.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-welcome-guide/inc/guide.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: walkthrough, introduction, block-editor, tour, user-onboarding
custom-welcome-guide/index.php 85% from 13 tests
The entry point to "Custom Welcome Guide" version 1.0.9 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 221 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("custom-welcome-guide.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin17,491 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 16,660 |
JavaScript | 11 | 75 | 94 | 506 |
PHP | 4 | 35 | 72 | 203 |
Sass | 2 | 12 | 4 | 98 |
Markdown | 1 | 16 | 0 | 22 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin