Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.44ms] Passed 4 tests
A check of server-side resources used by ARCaptcha - Puzzle Captcha | New-generation Captcha and bot protection
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.32 ▼1.71 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.98 ▼4.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.60 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.57 ▼3.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.33 ▼3.92 |
ARCaptcha /wp-admin/options-general.php?page=arcaptcha-options | 3.27 | 36.73 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
ARCaptcha - Puzzle Captcha | New-generation Captcha and bot protection: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲58 | 13.54 ▼0.99 | 7.56 ▲5.66 | 43.37 ▲0.24 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▼0.04 | 81.80 ▼11.36 | 38.56 ▼4.23 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.98 ▲0.01 | 33.36 ▼4.06 | 35.45 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 22.90 ▲4.58 | 649.90 ▲6.18 | 53.79 ▼14.94 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▼0.01 | 97.14 ▼3.06 | 42.41 ▼2.35 |
ARCaptcha /wp-admin/options-general.php?page=arcaptcha-options | 1,035 | 1.99 | 27.31 | 25.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/arcaptcha/common/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/arcaptcha/digits/digits.php:5
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Fields\\Field_Base' not found in wp-content/plugins/arcaptcha/src/php/ElementorPro/ARCaptchaField.php:7
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: The plugin contributors field is missing
arcaptcha/arcaptcha.php 92% from 13 tests
The main PHP script in "ARCaptcha - Puzzle Captcha | New-generation Captcha and bot protection" version 1.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 333 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
There were no executable files found in this plugin2,089 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 358 | 796 | 1,744 |
JavaScript | 4 | 54 | 0 | 201 |
PO File | 1 | 43 | 42 | 118 |
JSON | 2 | 0 | 0 | 23 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 16 | 29.09% |
▷ Public methods | 52 | 94.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.45% |
Functions | 67 | |
▷ Named functions | 44 | 65.67% |
▷ Anonymous functions | 23 | 34.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected