Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.29ms] Passed 4 tests
An overview of server-side resources used by ReCaptcha JS Alert
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.82 ▼9.80 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.10 ▲0.63 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.14 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 96.37 ▼0.85 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.72 ▲1.01 |
ReCaptcha JS Alert /wp-admin/options-general.php?page=recaptcha-js-alert-settings | 3.23 | 32.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
recaptcha_js_alert_settings |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ReCaptcha JS Alert
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.70 ▼0.88 | 4.54 ▲2.48 | 40.30 ▼8.54 |
Dashboard /wp-admin | 2,229 ▲41 | 5.25 ▼0.59 | 107.37 ▼8.66 | 38.31 ▼4.19 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.29 ▲0.28 | 41.91 ▲6.22 | 37.03 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,535 ▲13 | 23.23 ▼0.10 | 642.74 ▼18.56 | 36.37 ▼16.77 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.43 ▲0.21 | 90.34 ▼6.66 | 41.20 ▼2.45 |
ReCaptcha JS Alert /wp-admin/options-general.php?page=recaptcha-js-alert-settings | 1,090 | 2.39 | 45.10 | 27.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: recaptcha, disabled, notification, warning, alert...
recaptcha-js-alert/recaptcha-js-alert.php Passed 13 tests
The main PHP file in "ReCaptcha JS Alert" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
85 characters long description:
Notify visitors of your website if JavaScript required by reCAPTCHA is being blocked.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin125 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 13 | 12 | 104 |
CSS | 1 | 0 | 0 | 7 |
JavaScript | 2 | 0 | 0 | 7 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.05KB | 3.07KB | ▼ 39.31% |
screenshot-1.png | 7.34KB | 4.94KB | ▼ 32.70% |
screenshot-3.png | 20.04KB | 10.52KB | ▼ 47.50% |