Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.29ms] Passed 4 tests
An overview of server-side resources used by WP create user area
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.18 ▼5.54 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.35 ▼1.95 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.35 ▲9.31 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.70 ▲3.42 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.10 ▲2.92 |
WP User Area /wp-admin/users.php?page=ka_area_admin | 3.31 | 30.53 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_ka_area_user |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP create user area
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.20 ▼1.55 | 4.48 ▲2.65 | 40.09 ▼7.79 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼0.02 | 110.28 ▲2.26 | 41.03 ▼4.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 42.28 ▲5.84 | 36.59 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.36 ▲0.38 | 685.80 ▲44.50 | 57.03 ▲3.33 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.22 ▲0.00 | 95.89 ▼14.72 | 40.85 ▼3.48 |
WP User Area /wp-admin/users.php?page=ka_area_admin | 936 | 2.02 | 22.49 | 21.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_ka_area_user
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=ka_area_admin
- > Notice in wp-content/plugins/wp-create-user-area/index.php+244
Trying to access array offset on value of type bool
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: Add images for these screenshots: #1 (Plugins admin setting pages), #2 (For user profile create new area), #3 (Test widget for show user area single/author page)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wp-create-user-area/index.php 92% from 13 tests
"WP create user area" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 ("wp-create-user-area.php" instead of "index.php")
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 detected343 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 80 | 70 | 235 |
PO File | 2 | 96 | 202 | 108 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 57.02KB | 16.92KB | ▼ 70.32% |
screenshot-3.png | 40.92KB | 13.72KB | ▼ 66.48% |
screenshot-2.png | 87.03KB | 27.34KB | ▼ 68.58% |