Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.77ms] Passed 4 tests
This is a short check of server-side resources used by Live eftpos for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.74 ▲5.57 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.29 ▲1.11 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 45.32 ▼1.58 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 80.91 ▼24.36 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 35.82 ▲1.77 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Live eftpos for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.16 ▼0.45 | 1.69 ▼0.12 | 45.22 ▲0.76 |
Dashboard /wp-admin | 2,192 ▲11 | 5.62 ▼0.05 | 86.94 ▼15.51 | 43.18 ▼0.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 33.63 ▼10.42 | 35.87 ▲4.17 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.14 ▲4.95 | 691.61 ▲88.62 | 53.36 ▼20.39 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▼0.04 | 107.49 ▼4.93 | 46.84 ▲3.27 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/live-eftpos-for-woocommerce/live-eftpos-for-woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tested up to: Version not formatted correctly
- Screenshots: Add descriptions for screenshots #1, #2 in live-eftpos-for-woocommerce/assets to your readme.txt
live-eftpos-for-woocommerce/live-eftpos-for-woocommerce.php Passed 13 tests
The main PHP file in "Live eftpos for WooCommerce" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
115 characters long description:
Live eftpos for WooCommerce enables businesses to easily accept card payments while using the WooCommerce platform.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin895 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 158 | 133 | 895 |
CSS | 1 | 4 | 0 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/livegroup.png | 7.76KB | 3.39KB | ▼ 56.32% |
assets/img/logo.png | 2.92KB | 1.64KB | ▼ 43.76% |