Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.01MB] [CPU: ▲1.83ms] Passed 4 tests
This is a short check of server-side resources used by Easy Cloudflare Turnstile - Privacy-friendly reCAPTCHA alternative for WordPress, Contact Form 7, WPForms, BuddyPress, Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.99 | 49.19 ▲3.53 |
Dashboard /wp-admin | 4.32 ▲1.02 | 57.28 ▲7.69 |
Posts /wp-admin/edit.php | 4.42 ▲1.07 | 56.43 ▼3.05 |
Add New Post /wp-admin/post-new.php | 6.91 ▲1.03 | 92.31 ▼0.85 |
Media Library /wp-admin/upload.php | 4.24 ▲1.01 | 50.90 ▲14.28 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 137 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
ect_redirect_to_admin_page |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Cloudflare Turnstile - Privacy-friendly reCAPTCHA alternative for WordPress, Contact Form 7, WPForms, BuddyPress, Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,048 ▲262 | 13.42 ▼0.85 | 8.88 ▲6.91 | 46.57 ▲3.60 |
Dashboard /wp-admin | 2,343 ▲163 | 5.59 ▼0.08 | 92.13 ▲0.50 | 80.83 ▲35.27 |
Posts /wp-admin/edit.php | 2,246 ▲146 | 2.11 ▲0.14 | 35.36 ▼11.90 | 32.07 ▼6.52 |
Add New Post /wp-admin/post-new.php | 1,665 ▲138 | 22.82 ▼0.05 | 760.47 ▲141.80 | 53.09 ▲2.42 |
Media Library /wp-admin/upload.php | 1,545 ▲148 | 4.15 ▼0.13 | 116.95 ▲15.90 | 69.04 ▲23.11 |
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
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
9 plugin tags: anti-spam, recaptcha, spam protection, invisible recaptcha, cloudflare...
wppool-turnstile-captcha-spam-filter/easy-cloudflare-turnstile.php 85% from 13 tests
The main PHP file in "Easy Cloudflare Turnstile - Privacy-friendly reCAPTCHA alternative for WordPress, Contact Form 7, WPForms, BuddyPress, Elementor" ver. 2.3.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time 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: It is recommended to name the main PHP file as the plugin slug ("wppool-turnstile-captcha-spam-filter.php" instead of "easy-cloudflare-turnstile.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected38,926 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 3,625 | 2,509 | 22,438 |
PHP | 35 | 1,373 | 2,688 | 5,092 |
TypeScript | 32 | 390 | 12 | 4,957 |
CSS | 3 | 55 | 59 | 3,099 |
Sass | 13 | 535 | 23 | 3,016 |
SVG | 10 | 1 | 1 | 150 |
XML | 1 | 39 | 52 | 129 |
JSON | 3 | 0 | 0 | 45 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 23.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 1 | 3.70% |
Methods | 251 | |
▷ Static methods | 21 | 8.37% |
▷ Public methods | 209 | 83.27% |
▷ Protected methods | 7 | 2.79% |
▷ Private methods | 35 | 13.94% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
30 PNG files occupy 0.43MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/wpuf.png | 35.15KB | 19.43KB | ▼ 44.72% |
build/images/secretkey_infotip.c5da0514.png | 15.95KB | 6.84KB | ▼ 57.13% |
src/images/tooltip/secretkey_infotip.png | 15.95KB | 6.84KB | ▼ 57.13% |
src/images/video_cover.png | 67.69KB | 29.56KB | ▼ 56.32% |
build/images/sitekey_infotip.d0ed94ce.png | 26.92KB | 10.21KB | ▼ 62.07% |