Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SimpleRegisterUsersForm::my_plugin_create_db() should not be called statically
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.58ms] Passed 4 tests
Server-side resources used by Simple User Register Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.67 ▲0.38 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.52 ▼15.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.73 ▼2.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.16 ▼20.61 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.77 ▲1.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_simpleregisterusersform |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple User Register Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲146 | 13.79 ▼0.76 | 8.22 ▲6.39 | 42.64 ▲3.33 |
Dashboard /wp-admin | 2,216 ▲36 | 5.63 ▲0.05 | 84.55 ▼7.73 | 40.34 ▼1.73 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.02 ▲0.00 | 33.71 ▼7.26 | 35.26 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.26 ▲0.22 | 709.09 ▲62.90 | 55.75 ▲4.77 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.20 ▼0.09 | 99.79 ▼4.30 | 45.84 ▲0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SimpleRegisterUsersForm::sruf_deactivation_hook() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #3 in simple-register-users-form/assets to your readme.txt
simple-register-users-form/simple-register-users-form.php Passed 13 tests
The main file in "Simple User Register Form" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
Simple user register form create exit register users in your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected634 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 133 | 68 | 497 |
CSS | 1 | 8 | 3 | 87 |
JavaScript | 1 | 8 | 2 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.85 |
▷ 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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin