Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/kadio-deposit-for-woocommerce/includes/class-controller.php+118
syntax error, unexpected '|', expecting ';' or '{'
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.09ms] Passed 4 tests
A check of server-side resources used by Kadio Deposit for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.48 ▲2.06 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.36 ▼9.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.22 ▼3.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.91 ▼12.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.48 ▼3.48 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kadio Deposit for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▲0.26 | 1.74 ▲0.14 | 42.96 ▲3.26 |
Dashboard /wp-admin | 2,192 ▲15 | 5.52 ▼0.15 | 84.40 ▼2.47 | 43.73 ▲3.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.04 | 35.23 ▲0.08 | 32.40 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 18.35 ▲0.00 | 628.94 ▲11.85 | 68.29 ▲2.38 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.13 | 96.33 ▲0.83 | 41.60 ▲0.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Kadio_Base_Controller' not found in wp-content/plugins/kadio-deposit-for-woocommerce/includes/class-kadio-cart.php:4
- > PHP Notice
Undefined variable: deposit in wp-content/plugins/kadio-deposit-for-woocommerce/templates/deposit_display_data.php on line 3
- > PHP Parse error
syntax error, unexpected '|', expecting ';' or '{' in wp-content/plugins/kadio-deposit-for-woocommerce/includes/class-controller.php on line 118
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kadio-deposit-for-woocommerce/templates/deposit_remaining_message_view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kadio-deposit-for-woocommerce/templates/deposit_amount_view.php:3
- > PHP Notice
Undefined variable: deposit in wp-content/plugins/kadio-deposit-for-woocommerce/templates/deposit_on_order_review.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/kadio-deposit-for-woocommerce/templates/deposit_display_data.php:7
- > PHP Notice
Undefined variable: deposit in wp-content/plugins/kadio-deposit-for-woocommerce/templates/admin_order_deposit_data.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Kadio_Base_Controller' not found in wp-content/plugins/kadio-deposit-for-woocommerce/includes/class-kadio-deposit.php:4
- > PHP Fatal error
Uncaught Error: Class 'Kadio_Base_Controller' not found in wp-content/plugins/kadio-deposit-for-woocommerce/includes/class-kadio-payments.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: A description for screenshot #4 is required in kadio-deposit-for-woocommerce/assets to your readme.txt
kadio-deposit-for-woocommerce/kadio-deposit-for-woocommerce.php Passed 13 tests
The primary PHP file in "Kadio Deposit for Woocommerce" version 2.0.0 is used by WordPress to initiate all plugin functionality
54 characters long description:
This plugin allows making woocommerce deposit payment.
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 plugin1,877 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 371 | 376 | 1,467 |
PO File | 2 | 104 | 110 | 298 |
Markdown | 1 | 40 | 0 | 81 |
JavaScript | 1 | 7 | 5 | 31 |
PHP code Passed 2 tests
An overview 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.33 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 58 | 70.73% |
▷ Protected methods | 9 | 10.98% |
▷ Private methods | 15 | 18.29% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 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 images were found in this plugin