Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼141.85ms] Passed 4 tests
Server-side resources used by iikoCloud for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 41.92 ▲5.72 |
Dashboard /wp-admin | 3.12 ▲0.06 | 51.77 ▼0.18 |
Posts /wp-admin/edit.php | 3.23 ▲0.12 | 52.47 ▲4.49 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 87.86 ▼569.15 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 35.25 ▼2.54 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 60 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by iikoCloud for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,715 ▲143 | 15.87 ▲0.37 | 9.15 ▲1.93 | 50.67 ▼2.21 |
Dashboard /wp-admin | 2,982 ▲45 | 5.84 ▼0.08 | 157.49 ▲1.74 | 113.05 ▼10.55 |
Posts /wp-admin/edit.php | 2,752 ▲16 | 2.69 ▲0.01 | 73.35 ▲4.50 | 87.92 ▼7.22 |
Add New Post /wp-admin/post-new.php | 1,693 ▲10 | 18.79 ▲0.41 | 400.10 ▼20.46 | 115.19 ▼0.49 |
Media Library /wp-admin/upload.php | 1,820 ▲13 | 5.04 ▲0.04 | 155.27 ▼20.39 | 122.88 ▼2.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/skyweb-wc-iiko/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/skyweb-wc-iiko/vendor/deliciousbrains/wp-background-processing/wp-background-processing.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: woocommerce, restaurant, delivery, iiko
skyweb-wc-iiko/skyweb-wc-iiko.php 92% from 13 tests
"iikoCloud for WooCommerce" version 1.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 155 characters long)
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
Everything looks great! No dangerous files found in this plugin5,078 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,494 | 1,558 | 3,897 |
JavaScript | 5 | 227 | 84 | 510 |
PO File | 1 | 150 | 165 | 371 |
Markdown | 1 | 60 | 0 | 112 |
CSS | 2 | 22 | 15 | 103 |
JSON | 3 | 0 | 0 | 84 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 2 | 6.67% |
▷ Concrete classes | 28 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 224 | |
▷ Static methods | 72 | 32.14% |
▷ Public methods | 156 | 69.64% |
▷ Protected methods | 51 | 22.77% |
▷ Private methods | 17 | 7.59% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin