Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.24ms] Passed 4 tests
Server-side resources used by KeyCAPTCHA - Social WordPress CAPTCHA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.71 ▲3.05 |
Dashboard /wp-admin | 3.40 ▲0.10 | 51.46 ▲2.95 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.09 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.54 ▼13.16 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 34.88 ▼3.13 |
KeyCAPTCHA /wp-admin/plugins.php?page=keycaptcha/keycaptcha.php | 3.33 | 30.29 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
keycaptcha_vars_db |
widget_recent-comments |
Browser metrics Passed 4 tests
KeyCAPTCHA - Social WordPress CAPTCHA: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.26 ▼1.19 | 2.10 ▼0.05 | 43.14 ▼4.50 |
Dashboard /wp-admin | 2,213 ▲22 | 5.88 ▼0.02 | 94.14 ▼13.93 | 38.33 ▼1.35 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.04 | 40.90 ▲4.11 | 34.40 ▲2.81 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.50 ▼4.91 | 595.99 ▼70.04 | 53.63 ▼11.13 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.11 ▼0.13 | 99.76 ▼3.69 | 43.23 ▼1.46 |
KeyCAPTCHA /wp-admin/plugins.php?page=keycaptcha/keycaptcha.php | 991 | 2.17 | 40.41 | 38.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/plugins.php?page=keycaptcha/keycaptcha.php
- > Notice in wp-content/plugins/keycaptcha/keycaptcha_settings.php+150
Undefined index: keycaptcha_custom_text
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/keycaptcha/kc-gettime.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/keycaptcha/keycaptcha.php:201
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/keycaptcha/keycaptcha.php on line 195
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/keycaptcha/keycaptcha_settings.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Our CAPTCHA on comments), #2 (Our CAPTCHA on registration form), #3 (Our CAPTCHA on Contact Form 7), #4 (Our CAPTCHA on login form), #5 (Our CAPTCHA on lost password form), #6 (Page with our CAPTCHA settings)
- Tags: You are using too many tags: 12 tag instead of maximum 10
keycaptcha/keycaptcha.php Passed 13 tests
"KeyCAPTCHA - Social WordPress CAPTCHA" version 2.5.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
Adds KeyCAPTCHA anti-spam solution to WordPress on the comment form and registration form.
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 plugin734 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 80 | 97 | 621 |
PO File | 1 | 23 | 44 | 113 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin