Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.64ms] Passed 4 tests
An overview of server-side resources used by KEKS Pay for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.51 ▼8.36 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.30 ▼4.13 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.24 ▲0.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.79 ▲4.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.80 ▲1.46 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
KEKS Pay for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.67 ▲0.31 | 1.82 ▼0.11 | 42.30 ▼2.24 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.05 | 95.83 ▲5.59 | 41.71 ▲0.83 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▲0.02 | 43.21 ▲6.67 | 39.99 ▲5.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.21 ▼0.07 | 607.59 ▼43.48 | 47.95 ▼0.61 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.18 ▲0.08 | 98.35 ▲2.44 | 43.99 ▲1.50 |
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
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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
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
Please take a closer look at the following
- 62× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-settings-container/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-settings-container/examples/simple.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QRImage' not found in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/QRImageWithLogo.php:24
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QROutputAbstract' not found in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/src/Output/QRFpdf.php:30
- > PHP Warning
require_once(wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/imageWithText.php on line 17
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/image.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/svg.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/imageWithLogo.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/examples/imageWithText.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCodeTest\\Data\\DatainterfaceTestAbstract' not found in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/tests/Data/ByteTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCodeTest\\Output\\QROutputTestAbstract' not found in wp-content/plugins/keks-pay-for-woocommerce/vendor/chillerlan/php-qrcode/tests/Output/QRStringTest.php:17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: woocommerce, gateway, payment, kekspay
keks-pay-for-woocommerce/woocommerce-gateway-kekspay.php 85% from 13 tests
Analyzing the main PHP file in "KEKS Pay for WooCommerce" version 1.0.14
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("keks-pay-for-woocommerce.php" instead of "woocommerce-gateway-kekspay.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin5,025 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 78 | 1,463 | 2,723 | 4,426 |
HTML | 1 | 26 | 0 | 137 |
XML | 5 | 0 | 0 | 129 |
JSON | 1 | 0 | 0 | 117 |
SVG | 2 | 0 | 0 | 70 |
CSS | 1 | 14 | 5 | 69 |
JavaScript | 2 | 8 | 5 | 43 |
YAML | 3 | 8 | 0 | 34 |
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.30 |
Average class complexity | 8.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 3 | |
Traits | 4 | |
Classes | 57 | |
▷ Abstract classes | 6 | 10.53% |
▷ Concrete classes | 51 | 89.47% |
▷ Final classes | 0 | 0.00% |
Methods | 315 | |
▷ Static methods | 32 | 10.16% |
▷ Public methods | 240 | 76.19% |
▷ Protected methods | 68 | 21.59% |
▷ Private methods | 7 | 2.22% |
Functions | 18 | |
▷ Named functions | 5 | 27.78% |
▷ Anonymous functions | 13 | 72.22% |
Constants | 55 | |
▷ Global constants | 7 | 12.73% |
▷ Class constants | 48 | 87.27% |
▷ Public constants | 43 | 89.58% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/chillerlan/php-qrcode/examples/example_image.png | 2.23KB | 1.09KB | ▼ 50.94% |
vendor/chillerlan/php-qrcode/examples/octocat.png | 2.41KB | 2.46KB | 0.00% |
vendor/chillerlan/php-qrcode/examples/example_svg.png | 15.55KB | 6.70KB | ▼ 56.90% |