Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲2.39ms] Passed 4 tests
This is a short check of server-side resources used by Bank Transfer Confirmation Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.09 | 43.87 ▲0.45 |
Dashboard /wp-admin | 3.41 ▲0.11 | 52.71 ▲3.57 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.57 ▲2.20 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 94.74 ▲5.82 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 36.27 ▲3.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Bank Transfer Confirmation Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.28 ▼1.00 | 1.69 ▼0.14 | 40.85 ▼10.01 |
Dashboard /wp-admin | 2,213 ▲21 | 4.85 ▼0.22 | 100.75 ▼11.92 | 36.74 ▼4.25 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▲0.06 | 39.46 ▲2.43 | 35.54 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.83 ▼4.99 | 751.47 ▲88.95 | 58.77 ▲2.59 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.25 ▲0.07 | 95.27 ▼8.98 | 43.00 ▼1.76 |
Bank Transfer /wp-admin/bank-transfer-setting-page.php | 26 | 0.44 | 0.19 | 14.65 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bank-transfer-confirmation-form/confirmation-payment.php:17
- > PHP Fatal error
Uncaught Error: Class 'BankTransfer' not found in wp-content/plugins/bank-transfer-confirmation-form/templates/confirm-payment-template.php:9
- > PHP Fatal error
Uncaught Error: Class 'InputField' not found in wp-content/plugins/bank-transfer-confirmation-form/models/inputs/form_input_field.php:5
- > PHP Fatal error
Uncaught Error: Class 'InputField' not found in wp-content/plugins/bank-transfer-confirmation-form/models/inputs/setting_input_field.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/bank-transfer-setting-page.php
- > Network (severe)
wp-admin/bank-transfer-setting-page.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Invalid URI ("-")
bank-transfer-confirmation-form/confirmation-payment.php 92% from 13 tests
The primary PHP file in "Bank Transfer Confirmation Form" version 0.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("bank-transfer-confirmation-form.php" instead of "confirmation-payment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin541 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 156 | 98 | 539 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 22 | 66.67% |
▷ Protected methods | 1 | 3.03% |
▷ Private methods | 10 | 30.30% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin