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.11MB] [CPU: ▼1.92ms] Passed 4 tests
Server-side resources used by reCAPTCHA Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 48.98 ▲6.22 |
Dashboard /wp-admin | 3.46 ▲0.08 | 49.55 ▼16.67 |
Posts /wp-admin/edit.php | 3.58 ▲0.18 | 52.35 ▲3.02 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.12 | 101.59 ▼0.23 |
Media Library /wp-admin/upload.php | 3.39 ▲0.12 | 44.40 ▲7.92 |
reCAPTCHA Lite /wp-admin/options-general.php?page=grl-options | 3.35 | 39.17 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for reCAPTCHA Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 14.02 ▼0.38 | 8.16 ▲6.58 | 44.78 ▲1.40 |
Dashboard /wp-admin | 2,202 ▲22 | 5.65 ▼0.00 | 84.43 ▼3.82 | 36.89 ▼8.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.02 | 39.31 ▲2.79 | 34.19 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,541 ▲12 | 23.08 ▲0.14 | 700.37 ▲41.22 | 67.37 ▲17.50 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.23 ▲0.03 | 104.71 ▲2.35 | 47.80 ▲2.35 |
reCAPTCHA Lite /wp-admin/options-general.php?page=grl-options | 876 | 2.00 | 25.65 | 32.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/recaptcha-lite/uninstall.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
recaptcha-lite/recaptcha-lite.php 92% from 13 tests
This is the main PHP file of "reCAPTCHA Lite" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin550 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 156 | 327 | 515 |
JavaScript | 1 | 6 | 7 | 26 |
CSS | 1 | 1 | 5 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 1 | 2.78% |
▷ Private methods | 1 | 2.78% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin