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
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼5.75ms] Passed 4 tests
A check of server-side resources used by WelcomeWP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 51.69 ▲14.34 |
Dashboard /wp-admin | 3.51 ▲0.16 | 45.66 ▼17.18 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 48.34 ▲1.74 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.92 ▼12.50 |
Media Library /wp-admin/upload.php | 3.44 ▲0.20 | 38.45 ▲4.94 |
WelcomeWP /wp-admin/options-general.php?page=welcomewp-plugin | 3.41 | 34.14 |
All Greeters /wp-admin/edit.php?post_type=greeter | 3.49 | 49.95 |
Add New /wp-admin/post-new.php?post_type=greeter | 3.63 | 48.28 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WelcomeWP: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 14.71 ▲0.16 | 1.88 ▲0.19 | 45.11 ▲4.56 |
Dashboard /wp-admin | 2,248 ▲67 | 5.83 ▲0.18 | 100.36 ▲1.96 | 37.61 ▼0.07 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 2.31 ▲0.31 | 42.68 ▲2.71 | 35.68 ▼2.97 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.15 ▲0.03 | 671.87 ▲0.24 | 36.36 ▼25.40 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.41 ▲0.05 | 98.57 ▼7.47 | 41.32 ▼6.39 |
WelcomeWP /wp-admin/options-general.php?page=welcomewp-plugin | 958 | 2.07 | 26.00 | 21.61 |
All Greeters /wp-admin/edit.php?post_type=greeter | 1,166 | 2.62 | 52.26 | 28.52 |
Add New /wp-admin/post-new.php?post_type=greeter | 2,810 | 7.96 | 221.84 | 67.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=greeter
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpPointerL10n.dismiss is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
welcomewp/welcomewp.php 85% from 13 tests
The main PHP script in "WelcomeWP" version 1.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,691 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 241 | 608 | 1,067 |
CSS | 8 | 76 | 48 | 351 |
JavaScript | 6 | 55 | 42 | 273 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 63 | |
▷ Static methods | 1 | 1.59% |
▷ Public methods | 45 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 28.57% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin