Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.13MB] [CPU: ▼8.64ms] Passed 4 tests
This is a short check of server-side resources used by UsersWP - ReCaptcha
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.04 | 46.62 ▼1.35 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.19 ▼6.08 |
Posts /wp-admin/edit.php | 3.36 ▼0.49 | 47.37 ▼10.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▼0.00 | 90.06 ▼16.35 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 34.15 ▲2.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for UsersWP - ReCaptcha
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.57 ▲0.44 | 1.62 ▼0.67 | 44.61 ▼4.45 |
Dashboard /wp-admin | 2,192 ▲15 | 5.58 ▼0.07 | 89.67 ▼0.21 | 38.94 ▼1.48 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▲0.00 | 38.47 ▼0.78 | 35.33 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.16 ▼2.14 | 650.27 ▲29.82 | 55.05 ▲1.48 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.02 | 96.34 ▲0.51 | 39.71 ▼3.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/userswp-recaptcha/admin/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: users, login, register, account, userswp...
userswp-recaptcha/uwp-recaptcha.php 85% from 13 tests
The main PHP file in "UsersWP - ReCaptcha" ver. 1.3.19 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("userswp-recaptcha.php" instead of "uwp-recaptcha.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin931 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 161 | 81 | 799 |
PO File | 1 | 43 | 43 | 132 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 17 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 19.05% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin