Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.04ms] Passed 4 tests
An overview of server-side resources used by Text Captcha For Contact Form 7 [GWE]
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.18 ▼5.78 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.72 ▼2.93 |
Posts /wp-admin/edit.php | 3.47 ▲0.10 | 47.77 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.37 ▼1.31 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.94 ▲2.41 |
Text Captcha For Contact Form 7 /wp-admin/options-general.php?page=cf7tc | 3.24 | 30.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Text Captcha For Contact Form 7 [GWE]
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲61 | 14.22 ▲0.07 | 2.30 ▲0.62 | 40.15 ▼3.88 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.04 | 89.79 ▼9.22 | 39.12 ▼2.05 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.00 | 37.60 ▲0.06 | 35.86 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▼0.32 | 609.57 ▼38.19 | 58.92 ▼3.93 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.22 ▼0.09 | 94.50 ▼8.07 | 40.34 ▼1.70 |
Text Captcha For Contact Form 7 /wp-admin/options-general.php?page=cf7tc | 790 | 2.00 | 26.81 | 25.49 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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 errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/text-captcha-for-contact-form-7/contact-form-7-text-captcha.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: recaptcha, captcha, text-captcha, spam protection, contact form 7
text-captcha-for-contact-form-7/contact-form-7-text-captcha.php 85% from 13 tests
"Text Captcha For Contact Form 7 [GWE]" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("text-captcha-for-contact-form-7.php" instead of "contact-form-7-text-captcha.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected212 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 13 | 146 |
JavaScript | 1 | 13 | 1 | 42 |
CSS | 1 | 1 | 0 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 4 | |
▷ Global constants | 4 | 100.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
No PNG images were found in this plugin