Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▲5.64ms] Passed 4 tests
Server-side resources used by CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 44.84 ▼0.10 |
Dashboard /wp-admin | 3.99 ▲0.69 | 61.39 ▲10.19 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 56.40 ▲10.92 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 92.41 ▲3.23 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 45.51 ▲9.23 |
CAPTCHA Configuration /wp-admin/admin.php?page=c4wp-admin-captcha | 3.85 | 48.20 |
Settings & Placements /wp-admin/admin.php?page=c4wp-admin-settings | 3.82 | 41.54 |
Help & Contact Us /wp-admin/admin.php?page=c4wp-admin-help | 3.84 | 38.33 |
Premium Features ➤ /wp-admin/admin.php?page=c4wp-admin-upgrade | 3.85 | 38.64 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
c4wp_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲92 | 13.20 ▼1.19 | 6.32 ▲4.13 | 44.89 ▼2.86 |
Dashboard /wp-admin | 2,230 ▲45 | 4.90 ▼0.95 | 107.12 ▼1.77 | 68.28 ▲22.60 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.08 ▲0.06 | 40.67 ▲1.93 | 37.52 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.16 ▼0.32 | 741.23 ▲58.65 | 62.28 ▲2.76 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.27 ▲0.03 | 103.04 ▼1.99 | 81.13 ▲36.88 |
CAPTCHA Configuration /wp-admin/admin.php?page=c4wp-admin-captcha | 1,669 | 2.40 | 36.97 | 39.32 |
Settings & Placements /wp-admin/admin.php?page=c4wp-admin-settings | 1,090 | 3.13 | 50.29 | 36.09 |
Help & Contact Us /wp-admin/admin.php?page=c4wp-admin-help | 1,165 | 2.99 | 44.06 | 39.62 |
Premium Features ➤ /wp-admin/admin.php?page=c4wp-admin-upgrade | 1,733 | 2.91 | 37.95 | 52.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- c4wp_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
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
9 plugin tags: captcha for woocommerce, nocaptcha, recaptcha, spam protection, forms captcha...
advanced-nocaptcha-recaptcha/advanced-nocaptcha-recaptcha.php 85% from 13 tests
"CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress" version 7.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 287 characters long)
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2.0" instead of "7.2")
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
Everything looks great! No dangerous files found in this plugin5,255 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 642 | 1,027 | 3,956 |
JavaScript | 2 | 108 | 32 | 783 |
CSS | 2 | 56 | 12 | 515 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 44.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 107 | 79.26% |
▷ Public methods | 129 | 95.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 4.44% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 5 | |
▷ Global constants | 5 | 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
9 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/third-party-logos.png | 13.48KB | 14.13KB | 0.00% |
assets/img/features-image.png | 53.76KB | 16.88KB | ▼ 68.60% |
assets/img/c4wp-logo-full.png | 14.92KB | 5.01KB | ▼ 66.40% |
assets/img/password-policy-manager.png | 8.19KB | 3.95KB | ▼ 51.79% |
assets/img/20x20-icon-inverse.png | 0.77KB | 0.89KB | 0.00% |