Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function update_usermeta is deprecated since version 3.0.0! Use update_user_meta() instead.
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.03ms] Passed 4 tests
Analyzing server-side resources used by Confirm User Registration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.82 ▲0.46 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.06 ▲2.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.51 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.72 ▼12.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.99 ▲2.44 |
Confirm User Registration /wp-admin/users.php?page=confirm-user-registration | 3.19 | 29.18 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
confirm-user-registration |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Confirm User Registration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.57 ▼0.71 | 1.61 ▲0.02 | 43.27 ▲5.10 |
Dashboard /wp-admin | 2,213 ▲25 | 5.90 ▲0.04 | 99.07 ▼14.48 | 37.87 ▼6.55 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.99 ▼0.05 | 39.15 ▲1.86 | 35.06 ▲4.54 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.24 ▼0.05 | 662.08 ▲25.10 | 51.00 ▼7.40 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.19 ▲0.03 | 103.18 ▲3.11 | 48.63 ▲4.44 |
Confirm User Registration /wp-admin/users.php?page=confirm-user-registration | 859 | 1.70 | 27.95 | 28.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=confirm-user-registration
- > Notice in wp-content/plugins/confirm-user-registration/confirm-user-registration.php+456
Undefined index: tab
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Screenshot of the auth/block users tab), #2 (Screenshot of the settings tab), #3 (Screenshot of login error)
confirm-user-registration/confirm-user-registration.php Passed 13 tests
This is the main PHP file of "Confirm User Registration" version 2.1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
104 characters long description:
Admins have to confirm a user registration - a notification will be send when the account gets activated
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin828 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 152 | 183 | 403 |
PO File | 4 | 145 | 285 | 388 |
JavaScript | 1 | 3 | 2 | 20 |
CSS | 1 | 3 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected