Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲0.09ms] Passed 4 tests
This is a short check of server-side resources used by KASSA.AT For WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.36 ▲3.36 |
Dashboard /wp-admin | 3.50 ▲0.20 | 45.64 ▼4.18 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 50.02 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 92.18 ▲3.72 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.76 ▼0.13 |
Options /wp-admin/admin.php?page=kaw | 3.39 | 35.87 |
Logs /wp-admin/admin.php?page=kaw_logs | 3.40 | 36.10 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
logging-info |
db_upgraded |
kaw-message-active |
Browser metrics Passed 4 tests
Checking browser requirements for KASSA.AT For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲93 | 14.26 ▼0.09 | 1.52 ▼0.17 | 36.54 ▼6.68 |
Dashboard /wp-admin | 2,260 ▲83 | 5.62 ▼0.06 | 85.36 ▼15.33 | 79.47 ▲36.41 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.14 ▲0.11 | 40.09 ▲2.97 | 36.10 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,735 ▲199 | 22.28 ▼0.73 | 681.26 ▲3.25 | 47.05 ▼14.25 |
Media Library /wp-admin/upload.php | 1,468 ▲71 | 4.19 ▼0.00 | 95.25 ▼6.70 | 75.40 ▲28.29 |
Options /wp-admin/admin.php?page=kaw | 844 | 1.69 | 27.41 | 29.42 |
Logs /wp-admin/admin.php?page=kaw_logs | 1,073 | 1.69 | 26.26 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- logging-info
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (KASSA.AT menu before connecting to your KASSA.AT account.), #2 (KASSA.AT menu after connecting to your KASSA.AT account. Now, you have unlimited power.)
kassa-at-for-woocommerce/kassa-at-for-woocommerce.php 92% from 13 tests
The entry point to "KASSA.AT For WooCommerce" version 1.1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.7" instead of "5.4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,438 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 369 | 399 | 1,333 |
PHP | 4 | 137 | 220 | 1,105 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.19MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 19.26KB | 0.21KB | ▼ 98.91% |
kaw_screenshot_1.png | 63.96KB | 26.43KB | ▼ 58.69% |
kaw_screenshot_2.png | 108.84KB | 44.35KB | ▼ 59.25% |