Benchmarks
Plugin footprint 83% 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.15MB] [CPU: ▼10.42ms] Passed 4 tests
An overview of server-side resources used by Uber reCaptcha
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 41.44 ▼0.07 |
Dashboard /wp-admin | 3.46 ▲0.12 | 46.84 ▼14.17 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.07 ▼4.18 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 81.99 ▼23.26 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.22 ▲3.54 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
uncr_settings |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Uber reCaptcha
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.26 ▼0.09 | 2.07 ▲0.36 | 43.25 ▼0.94 |
Dashboard /wp-admin | 2,230 ▲53 | 5.64 ▼0.02 | 90.71 ▼5.30 | 37.41 ▼5.64 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.00 ▲0.01 | 42.76 ▲9.19 | 37.28 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.13 ▼0.44 | 672.45 ▼14.40 | 51.70 ▼6.13 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.20 ▲0.08 | 97.20 ▼13.91 | 43.24 ▼8.74 |
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
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uber-nocaptcha-recaptcha/includes/class-ncr-captcha-on-comment-form.php:52
- > PHP Fatal error
Uncaught Error: Class 'NCR_render_engine' not found in wp-content/plugins/uber-nocaptcha-recaptcha/admin/settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uber-nocaptcha-recaptcha/includes/class-ncr-captcha-on-login.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uber-nocaptcha-recaptcha/includes/class-ncr-captcha-on-register.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uber-nocaptcha-recaptcha/includes/class-ncr-captcha-recover-password-form.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uber-nocaptcha-recaptcha/includes/helpers/class-ncr-admin-notices.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== uber-nocaptcha-recaptcha ===
)
uber-nocaptcha-recaptcha/recaptcha.php 85% from 13 tests
This is the main PHP file of "Uber reCaptcha" version 1.1.4, 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:
- Main file name: Name the main plugin file the same as the plugin slug ("uber-nocaptcha-recaptcha.php" instead of "recaptcha.php")
- Text Domain: The text domain should only use lowercase characters and dashes
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
Good job! No executable or dangerous file extensions detected1,209 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 308 | 507 | 669 |
CSS | 2 | 34 | 46 | 268 |
PO File | 1 | 106 | 114 | 241 |
JavaScript | 1 | 13 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.38 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
No PNG files were detected