Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.34ms] Passed 4 tests
An overview of server-side resources used by Webdesignby Recaptcha
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.47 ▼5.32 |
Dashboard /wp-admin | 3.35 ▲0.04 | 53.07 ▲3.80 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.85 ▲2.78 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.05 ▼15.18 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.59 ▲0.38 |
reCaptcha /wp-admin/options-general.php?page=webdesignby-recaptcha | 3.21 | 29.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Webdesignby Recaptcha
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.31 ▼1.31 | 1.63 ▼0.06 | 42.88 ▲3.37 |
Dashboard /wp-admin | 2,213 ▲25 | 4.82 ▼0.20 | 96.79 ▼5.04 | 39.47 ▼0.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.02 | 33.79 ▲0.09 | 33.55 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.42 ▼0.70 | 631.19 ▲4.51 | 62.78 ▲8.81 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.04 | 96.92 ▼8.08 | 41.01 ▼2.46 |
reCaptcha /wp-admin/options-general.php?page=webdesignby-recaptcha | 803 | 2.06 | 24.06 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=webdesignby-recaptcha
- > Notice in wp-content/plugins/webdesignby-recaptcha/class/RecaptchaOptionsPage.php+42
Trying to access array offset on value of type bool
SRP 50% from 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
Almost there! Just 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 Webdesignby\\plugin_basename() in wp-content/plugins/webdesignby-recaptcha/webdesignby-recaptcha.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== webdesignby-recaptcha ===
)
webdesignby-recaptcha/webdesignby-recaptcha.php Passed 13 tests
The principal PHP file in "Webdesignby Recaptcha" v. 1.7 is loaded by WordPress automatically on each request
46 characters long description:
Add reCAPTCHA to Wordpress default login page.
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
Success! There were no dangerous files found in this plugin223 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 17 | 223 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG images were not found in this plugin