Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.07MB] [CPU: ▼5.93ms] Passed 4 tests
This is a short check of server-side resources used by kineticPay for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.62 ▼1.20 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.82 ▼19.47 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.10 ▲5.17 |
Add New Post /wp-admin/post-new.php | 5.49 ▼0.39 | 73.05 ▼3.21 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.96 ▲0.16 |
Server storage [IO: ▲1.63MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 81 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_rltknp_fields |
wp_rltknp_meta |
New WordPress options |
---|
widget_theysaidso_widget |
recovery_mode_email_last_sent |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
rltknp_settings |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for kineticPay for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.11 | 1.64 ▼0.08 | 39.24 ▼3.03 |
Dashboard /wp-admin | 2,189 ▲11 | 5.56 ▼0.18 | 86.13 ▼24.02 | 38.92 ▼5.00 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.06 | 38.54 ▲0.75 | 36.40 ▼1.01 |
Add New Post /wp-admin/post-new.php | 738 ▼788 | 1.71 ▼21.26 | 22.36 ▼561.81 | 5.93 ▼41.98 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▲0.03 | 112.33 ▲12.43 | 50.18 ▲9.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_rltknp_meta
- wp_rltknp_fields
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- rltknp_settings
- recovery_mode_email_last_sent
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(RLTKN_PLUGIN_DIRclasses/admin/class.kineticpay-checkout-fields.php): failed to open stream: No such file or directory in wp-content/plugins/kineticpay-for-woocommerce/classes/admin/view/view.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/kineticpay-for-woocommerce/src/kineticpay.php:8
- > PHP Fatal error
require_once(): Failed opening required 'RLTKN_PLUGIN_DIRclasses/admin/class.kineticpay-checkout-fields.php' (include_path='.:/usr/share/php') in wp-content/plugins/kineticpay-for-woocommerce/classes/admin/view/view.php on line 2
- > PHP Warning
Use of undefined constant RLTKN_PLUGIN_DIR - assumed 'RLTKN_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/kineticpay-for-woocommerce/classes/admin/view/view.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-1.png (App Setup).) image not found
kineticpay-for-woocommerce/index.php 85% from 13 tests
This is the main PHP file of "kineticPay for WooCommerce" version 2.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.6" instead of "6.6.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kineticpay-for-woocommerce.php" instead of "index.php")
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
No dangerous file extensions were detected29,937 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 3,142 | 1,983 | 18,257 |
PHP | 12 | 1,328 | 398 | 8,400 |
CSS | 10 | 122 | 92 | 2,376 |
PO File | 4 | 389 | 1,519 | 886 |
SVG | 1 | 0 | 0 | 14 |
Markdown | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 69.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 258.00 |
Average method complexity | 6.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 93 | 93.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.00% |
Functions | 21 | |
▷ Named functions | 17 | 80.95% |
▷ Anonymous functions | 4 | 19.05% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/kineticpay.png | 3.14KB | 1.92KB | ▼ 38.88% |
src/assets/kineticpay-logo-all.png | 22.82KB | 24.08KB | 0.00% |
assets/admin/images/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
assets/admin/images/icon-help-circled.png | 3.06KB | 0.57KB | ▼ 81.36% |
assets/admin/images/black_list.png | 6.45KB | 3.64KB | ▼ 43.58% |