Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.17ms] Passed 4 tests
An overview of server-side resources used by Tapcha
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.10 ▲5.83 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.77 ▼13.64 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.17 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.56 ▼12.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.56 ▼4.88 |
Tapcha /wp-admin/options-general.php?page=tapcha-options | 3.25 | 35.68 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
tapcha_options_group |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tapcha
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.05 | 1.88 ▲0.12 | 45.17 ▲4.08 |
Dashboard /wp-admin | 2,202 ▲31 | 5.56 ▼0.04 | 92.22 ▲1.00 | 41.02 ▲2.21 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.01 | 34.17 ▼0.91 | 33.49 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.38 ▲0.21 | 670.86 ▲33.04 | 50.65 ▼2.43 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.13 ▼0.04 | 96.81 ▼7.24 | 45.66 ▲0.55 |
Tapcha /wp-admin/options-general.php?page=tapcha-options | 860 | 2.16 | 23.42 | 27.85 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- tapcha_options_group
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tapcha/tapcha.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/tapcha/admin/includes/field-site-key.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tapcha/admin/admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tapcha/admin/includes/admin-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tapcha/admin/includes/section-credentials.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/tapcha/admin/includes/field-admin-key.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: contact form 7, captcha
tapcha/tapcha.php Passed 13 tests
The main PHP file in "Tapcha" ver. 0.4.0 adds more information about the plugin and also serves as the entry point for this plugin
62 characters long description:
A gesture based CAPTCHA scheme. Integrates with Contact Form 7
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 plugin1,161 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 91 | 57 | 670 |
PHP | 10 | 90 | 20 | 350 |
CSS | 3 | 3 | 6 | 77 |
PO File | 1 | 23 | 11 | 64 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
There were not PNG files found in your plugin