Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼134.31ms] Passed 4 tests
This is a short check of server-side resources used by KeenDelivery - WooCommerce plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.73 ▲5.06 |
Dashboard /wp-admin | 3.07 ▲0.01 | 63.82 ▲9.51 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 57.93 ▲3.60 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 133.84 ▼553.70 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 47.88 ▲7.79 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for KeenDelivery - WooCommerce plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲117 | 15.90 ▲0.25 | 12.88 ▲2.79 | 42.34 ▼14.46 |
Dashboard /wp-admin | 2,970 ▲37 | 5.91 ▼0.10 | 160.70 ▼12.29 | 126.75 ▲5.58 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.11 | 79.61 ▲8.94 | 97.33 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,615 ▼0 | 21.41 ▲0.40 | 342.30 ▲45.07 | 121.72 ▼34.92 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.01 | 174.03 ▲8.10 | 128.23 ▲10.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/keendelivery-woocommerce-koppeling/woocommerce-keendelivery-shipping.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
keendelivery-woocommerce-koppeling/woocommerce-keendelivery-shipping.php 85% from 13 tests
Analyzing the main PHP file in "KeenDelivery - WooCommerce plugin" version 1.0.7
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("keendelivery-woocommerce-koppeling.php" instead of "woocommerce-keendelivery-shipping.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,397 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 359 | 273 | 1,015 |
JavaScript | 1 | 119 | 1 | 310 |
CSS | 1 | 19 | 0 | 72 |
PHP code Passed 2 tests
This is a short overview 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.54 |
Average class complexity | 42.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 97.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.08% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin