Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.47ms] Passed 4 tests
An overview of server-side resources used by Kwik Delivery for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.25 ▼7.27 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.12 ▼0.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.02 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.19 ▼25.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.11 ▼0.58 |
Server storage [IO: ▲2.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Kwik Delivery for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.69 ▲0.32 | 1.64 ▼0.41 | 41.73 ▲0.31 |
Dashboard /wp-admin | 2,206 ▲21 | 5.90 ▲0.98 | 109.66 ▲7.60 | 41.55 ▼4.26 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.07 | 40.16 ▼1.19 | 34.85 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.42 ▲0.35 | 670.45 ▼4.50 | 55.90 ▲0.22 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.31 ▲0.10 | 94.11 ▼12.21 | 41.54 ▼4.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/kwik-delivery-for-wcommerce/kwik-delivery-for-wcommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues 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
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3 in kwik-delivery-for-wcommerce/assets to your readme.txt
- Contributors: Contributors not specified
kwik-delivery-for-wcommerce/kwik-delivery-for-wcommerce.php Passed 13 tests
The main PHP file in "Kwik Delivery for Woocommerce" ver. 2.2.2 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
A plugin to handle order shipping via kwik delivery
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin933 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 275 | 424 | 933 |
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.25 |
Average class complexity | 17.80 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 57 | |
▷ Static methods | 3 | 5.26% |
▷ Public methods | 50 | 87.72% |
▷ Protected methods | 7 | 12.28% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 2.84MB with 0.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/kwik1.png | 4.86KB | 4.86KB | 0.00% |
assets/banner-772x250.png | 2,339.09KB | 1,763.92KB | ▼ 24.59% |
images/kwik.png | 4.86KB | 4.86KB | 0.00% |
assets/banner-772x2502.png | 212.16KB | 59.63KB | ▼ 71.90% |
assets/screenshot-3.png | 83.40KB | 33.54KB | ▼ 59.78% |