Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.67ms] Passed 4 tests
A check of server-side resources used by Disable Recaptcha - CF7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.24 ▼1.63 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.39 ▼13.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.51 ▼4.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.81 ▼7.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.16 ▲2.41 |
Disable Recatcha - CF7 /wp-admin/options-general.php?page=disable-recaptcha-cf7 | 3.37 | 32.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Disable Recaptcha - CF7: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.15 ▼0.21 | 1.73 ▲0.21 | 42.61 ▲1.69 |
Dashboard /wp-admin | 2,204 ▲24 | 5.56 ▼0.01 | 86.83 ▼0.19 | 37.26 ▼4.00 |
Posts /wp-admin/edit.php | 2,115 ▲18 | 2.02 ▲0.03 | 33.64 ▼3.35 | 32.01 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.20 ▼0.39 | 659.19 ▲6.68 | 58.28 ▼9.30 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.20 ▲0.02 | 95.50 ▲1.58 | 43.93 ▲2.48 |
Disable Recatcha - CF7 /wp-admin/options-general.php?page=disable-recaptcha-cf7 | 1,282 | 1.71 | 25.27 | 51.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=disable-recaptcha-cf7
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=disable-recaptcha-cf7
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 34 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=disable-recaptcha-cf7
- > Notice in wp-content/plugins/disable-recaptcha-cf7/templates/admin/disable-recaptcha.php+248
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/disable-recaptcha-cf7/templates/admin/disable-recaptcha.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/disable-recaptcha-cf7/disable-recaptcha-cf7.php:33
- > 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 96% 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
4 plugin tags: disable recaptcha, recaptcha, cf7, contact from 7
disable-recaptcha-cf7/disable-recaptcha-cf7.php 92% from 13 tests
The main file in "Disable Recaptcha - CF7" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin625 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 21 | 27 | 474 |
CSS | 3 | 21 | 0 | 103 |
JavaScript | 3 | 3 | 1 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 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 | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin