Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼17.39ms] Passed 4 tests
Analyzing server-side resources used by WPCF 7 reCaptcha Defer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.61 ▼14.12 |
Dashboard /wp-admin | 3.21 ▼0.09 | 31.58 ▼20.10 |
Posts /wp-admin/edit.php | 3.28 ▼0.07 | 32.77 ▼17.50 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.46 | 69.73 ▼17.83 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 30.27 ▼5.41 |
WPCF7 reCaptcha Defer /wp-admin/options-general.php?page=rm-wpcf7-recaptcha-defer | 3.19 | 25.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WPCF 7 reCaptcha Defer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.33 ▼1.10 | 5.78 ▲3.77 | 43.32 ▼0.73 |
Dashboard /wp-admin | 2,212 ▲21 | 4.82 ▼0.06 | 106.22 ▼10.58 | 40.15 ▼2.65 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▲0.04 | 35.51 ▼6.75 | 32.70 ▼5.75 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 22.89 ▲5.39 | 633.13 ▼67.18 | 44.16 ▼8.24 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.22 ▼0.01 | 96.19 ▼11.22 | 43.20 ▼4.90 |
WPCF7 reCaptcha Defer /wp-admin/options-general.php?page=rm-wpcf7-recaptcha-defer | 806 | 2.06 | 25.22 | 30.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rm-wpcf7-recaptcha-defer
- > Notice in wp-content/plugins/rm-wpcf7-recaptcha-defer/admin/partials/rm-wpcf7-recaptcha-defer-admin-display.php+28
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rm-wpcf7-recaptcha-defer/public/partials/rm-wpcf7-recaptcha-defer-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rm-wpcf7-recaptcha-defer/admin/partials/rm-wpcf7-recaptcha-defer-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: optimization, recaptcha, seo, speed
rm-wpcf7-recaptcha-defer/rm-wpcf7-recaptcha-defer.php 92% from 13 tests
The primary PHP file in "WPCF 7 reCaptcha Defer" version 1.0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 156 characters long)
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
Success! There were no dangerous files found in this plugin508 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 139 | 558 | 251 |
CSS | 2 | 66 | 86 | 156 |
JavaScript | 4 | 32 | 86 | 101 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected