Benchmarks
Plugin footprint 65% 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.27MB] [CPU: ▼5.17ms] Passed 4 tests
A check of server-side resources used by WP User Signups
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 41.19 ▲3.26 |
Dashboard /wp-admin | 3.59 ▲0.24 | 47.29 ▼10.99 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 45.18 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 84.00 ▼12.40 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 36.43 ▲5.55 |
Sign ups /wp-admin/admin.php?page=signups | 3.53 | 37.44 |
Add New /wp-admin/admin.php?page=signup_edit | 3.52 | 33.77 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_signupmeta |
wp_signups |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP User Signups
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.26 ▼1.11 | 1.67 ▼0.15 | 39.63 ▼3.53 |
Dashboard /wp-admin | 2,229 ▲41 | 5.83 ▼0.05 | 94.68 ▼12.02 | 43.80 ▼0.72 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.01 ▼0.03 | 36.14 ▼3.81 | 32.71 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.16 ▲0.03 | 622.08 ▲14.46 | 53.53 ▼4.00 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.20 ▼0.03 | 96.37 ▼3.46 | 42.36 ▲0.26 |
Sign ups /wp-admin/admin.php?page=signups | 1,049 | 1.68 | 25.24 | 27.58 |
Add New /wp-admin/admin.php?page=signup_edit | 982 | 1.71 | 25.24 | 28.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_signupmeta
- wp_signups
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 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 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
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: user, signups, admin, multisite
wp-user-signups/wp-user-signups.php 92% from 13 tests
The main file in "WP User Signups" v. 5.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/wp-user-signups/assets/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,542 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 536 | 1,428 | 1,531 |
CSS | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 4 | 66.67% |
Methods | 53 | |
▷ Static methods | 3 | 5.66% |
▷ Public methods | 22 | 41.51% |
▷ Protected methods | 23 | 43.40% |
▷ Private methods | 8 | 15.09% |
Functions | 35 | |
▷ Named functions | 34 | 97.14% |
▷ Anonymous functions | 1 | 2.86% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected