Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.17ms] Passed 4 tests
A check of server-side resources used by WordPress Captcha Plugin by Captcha Bank
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.55 ▲4.67 |
Dashboard /wp-admin | 3.38 ▲0.08 | 56.26 ▲4.09 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.07 ▼2.38 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 99.80 ▼11.04 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 49.29 ▲14.86 |
Wizard /wp-admin/admin.php?page=captcha_bank | 3.63 | 39.71 |
Blockage Settings /wp-admin/admin.php?page=captcha_bank_blockage_settings | 3.28 | 43.41 |
/wp-admin/admin.php?page=captcha_bank_message_settings | 3.28 | 37.48 |
/wp-admin/admin.php?page=captcha_bank_roles_capabilities | 3.28 | 37.20 |
Whitelist IP Address / Range /wp-admin/admin.php?page=captcha_bank_whitelist_ip_addresses | 3.28 | 37.79 |
/wp-admin/admin.php?page=captcha_bank_email_templates | 3.28 | 37.83 |
/wp-admin/admin.php?page=captcha_bank_wizard | 3.29 | 35.91 |
Other Settings /wp-admin/admin.php?page=captcha_bank_other_settings | 3.28 | 37.41 |
Block / Unblock Countries /wp-admin/admin.php?page=captcha_bank_block_unblock_countries | 3.28 | 36.42 |
System Information /wp-admin/admin.php?page=captcha_bank_system_information | 3.28 | 39.42 |
Server storage [IO: ▲2.40MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 121 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_captcha_bank_meta |
wp_captcha_bank_ip_locations |
wp_captcha_bank |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
cpb_admin_notice |
captcha-bank-version-number |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Captcha Plugin by Captcha Bank
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲190 | 13.62 ▼0.65 | 5.71 ▲4.00 | 44.61 ▲6.04 |
Dashboard /wp-admin | 2,208 ▲32 | 5.79 ▲0.90 | 107.37 ▼98.49 | 91.51 ▲23.88 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.01 ▼0.00 | 37.74 ▼0.55 | 37.53 ▲4.56 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.22 ▲0.17 | 793.12 ▲145.66 | 69.73 ▲19.36 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.21 ▼0.00 | 121.34 ▲22.79 | 79.54 ▲32.44 |
Wizard /wp-admin/admin.php?page=captcha_bank | 1,033 | 3.04 | 67.02 | 44.43 |
Blockage Settings /wp-admin/admin.php?page=captcha_bank_blockage_settings | 1,036 | 3.00 | 69.77 | 34.44 |
/wp-admin/admin.php?page=captcha_bank_message_settings | 1,036 | 3.01 | 41.38 | 37.58 |
/wp-admin/admin.php?page=captcha_bank_roles_capabilities | 1,033 | 3.02 | 40.44 | 35.10 |
Whitelist IP Address / Range /wp-admin/admin.php?page=captcha_bank_whitelist_ip_addresses | 1,033 | 3.07 | 38.05 | 35.03 |
/wp-admin/admin.php?page=captcha_bank_email_templates | 1,033 | 3.01 | 39.44 | 34.96 |
/wp-admin/admin.php?page=captcha_bank_wizard | 997 | 3.02 | 43.72 | 34.77 |
Other Settings /wp-admin/admin.php?page=captcha_bank_other_settings | 1,036 | 3.01 | 38.94 | 35.74 |
Block / Unblock Countries /wp-admin/admin.php?page=captcha_bank_block_unblock_countries | 999 | 3.04 | 41.73 | 34.13 |
System Information /wp-admin/admin.php?page=captcha_bank_system_information | 1,036 | 3.02 | 40.00 | 35.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_captcha_bank_ip_locations
- wp_captcha_bank_meta
- wp_captcha_bank
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- cpb_admin_notice
- captcha-bank-version-number
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=captcha_bank_system_information
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?v=3&libraries=places&key=AIzaSyC4rVG7IsNk9pKUO_uOZuxQO4FmF6z03Ks&ver=6.3.1 334:267 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: anti spam, recaptcha, text captcha, google captcha, captcha
captcha-bank/captcha-bank.php Passed 13 tests
The entry point to "WordPress Captcha Plugin by Captcha Bank" version 4.0.36 is a PHP file that has certain tags in its header comment area
89 characters long description:
This plugin allows you to implement security captcha form into web forms to prevent spam.
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
Good job! No executable or dangerous file extensions detected35,350 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 460 | 1,095 | 17,677 |
JavaScript | 11 | 16 | 0 | 6,142 |
CSS | 16 | 25 | 127 | 5,727 |
PO File | 4 | 1,708 | 2,099 | 4,363 |
SVG | 2 | 0 | 0 | 1,441 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 99 | |
▷ Named functions | 99 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
35 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/global/img/portlet-collapse-icon-white.png | 0.23KB | 0.25KB | 0.00% |
assets/admin/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
assets/global/plugins/datatables/media/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/admin/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |