Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.69ms] Passed 4 tests
Analyzing server-side resources used by Extended Registration Form For WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.79 ▲4.26 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.60 ▼3.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.85 ▲3.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.28 ▼12.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.06 ▼3.54 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Extended Registration Form For WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.29 ▼0.07 | 1.81 ▼0.09 | 42.80 ▲1.76 |
Dashboard /wp-admin | 2,209 ▲29 | 5.58 ▲0.01 | 81.03 ▼5.20 | 38.82 ▼6.61 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.05 ▲0.07 | 41.27 ▲6.94 | 37.10 ▲4.02 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.14 ▼0.15 | 662.79 ▲13.86 | 53.38 ▼3.33 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.27 ▲0.08 | 94.30 ▼3.56 | 46.27 ▲4.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 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/registration-for-woocommerce/includes/functions-registration-for-woocommerce.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: shipping, registration-form, billing, woocommerce, fields
registration-for-woocommerce/registration-for-woocommerce.php Passed 13 tests
"Extended Registration Form For WooCommerce" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
42 characters long description:
Extended registration form for woocommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected378 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 98 | 142 | 367 |
JavaScript | 1 | 0 | 0 | 9 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of 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.45 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
PNG images were not found in this plugin