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
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼4.20ms] Passed 4 tests
A check of server-side resources used by WC Captcha
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 42.39 ▼1.74 |
Dashboard /wp-admin | 3.58 ▲0.27 | 56.38 ▲0.54 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 63.71 ▲19.67 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 87.54 ▼17.76 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.94 ▲2.15 |
WC Captcha /wp-admin/options-general.php?page=wc-captcha | 3.47 | 34.29 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WC Captcha: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.28 ▼0.45 | 1.98 ▲0.34 | 45.15 ▲3.27 |
Dashboard /wp-admin | 2,196 ▲16 | 5.59 ▼0.03 | 80.66 ▼9.10 | 38.66 ▼3.40 |
Posts /wp-admin/edit.php | 2,107 ▲28 | 2.03 ▲0.06 | 43.57 ▲4.85 | 38.31 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.13 ▲0.12 | 688.87 ▲63.13 | 55.21 ▼0.66 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▼0.01 | 101.32 ▼2.60 | 43.17 ▼2.14 |
WC Captcha /wp-admin/options-general.php?page=wc-captcha | 1,085 | 2.32 | 23.69 | 40.03 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-captcha/includes/integrations/contact-form-7.php:7
- > PHP Fatal error
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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 26 tag instead of maximum 10
wc-captcha/wc-captcha.php 92% from 13 tests
The entry point to "WC Captcha" version 1.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,103 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 240 | 258 | 1,033 |
CSS | 2 | 2 | 2 | 35 |
JavaScript | 2 | 3 | 4 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 39.40 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 146.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 45 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-webcource.png | 11.41KB | 5.83KB | ▼ 48.96% |