Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.49ms] Passed 4 tests
An overview of server-side resources used by reCaptcha By Roger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.65 ▼5.75 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.40 ▼2.23 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 45.89 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.13 ▼15.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.13 ▲2.56 |
ReCaptcha Logs /wp-admin/admin.php?page=recaptcha-logs | 3.24 | 39.49 |
ReCaptcha Keys /wp-admin/admin.php?page=recaptcha-settings | 3.24 | 37.17 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 74 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_roger_recaptcha_logs |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
reCaptcha By Roger: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲216 | 15.07 ▲0.39 | 1.65 ▼0.44 | 39.41 ▼7.19 |
Dashboard /wp-admin | 2,379 ▲188 | 6.82 ▲0.92 | 123.67 ▲15.91 | 40.14 ▼6.74 |
Posts /wp-admin/edit.php | 2,282 ▲193 | 3.76 ▲1.76 | 48.76 ▲11.80 | 34.28 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,554 ▲12 | 23.69 ▲0.52 | 632.58 ▼22.10 | 37.05 ▼17.32 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.47 ▲0.28 | 80.50 ▼21.79 | 40.66 ▼2.92 |
ReCaptcha Logs /wp-admin/admin.php?page=recaptcha-logs | 1,092 | 3.89 | 59.26 | 28.93 |
ReCaptcha Keys /wp-admin/admin.php?page=recaptcha-settings | 1,035 | 3.41 | 41.46 | 23.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_roger_recaptcha_logs
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 get_option() in wp-content/plugins/recaptcha-by-roger/recaptcha.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Contributors: Plugin contributors field is missing
recaptcha-by-roger/recaptcha.php 92% from 13 tests
The main PHP script in "reCaptcha By Roger" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("recaptcha-by-roger.php" instead of "recaptcha.php")
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 plugin25,756 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 35 | 5,821 | 15,751 | 21,772 |
CSS | 26 | 92 | 202 | 3,528 |
PHP | 3 | 54 | 36 | 295 |
Sass | 2 | 35 | 3 | 160 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
DataTables/DataTables-1.10.21/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
DataTables/DataTables-1.10.21/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
DataTables/DataTables-1.10.21/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
DataTables/DataTables-1.10.21/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
DataTables/DataTables-1.10.21/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |