Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.20ms] Passed 4 tests
A check of server-side resources used by GIG Logistic Delivery for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 40.55 ▼5.06 |
Dashboard /wp-admin | 3.40 ▲0.09 | 53.00 ▼0.18 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.65 ▼3.20 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.92 ▼15.33 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.59 ▼1.19 |
GIGL Settings /wp-admin/admin.php?page=wc-settings&tab=shipping§ion=gigl_delivery | 3.16 | 27.85 |
Dashboard /wp-admin/admin.php?page=gigl_plugin | 3.30 | 33.95 |
Server storage [IO: ▲2.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for GIG Logistic Delivery for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.26 ▼1.36 | 5.21 ▲3.31 | 42.85 ▲1.12 |
Dashboard /wp-admin | 2,237 ▲49 | 4.84 ▼0.95 | 103.97 ▼15.87 | 43.08 ▼2.97 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.04 ▲0.05 | 38.70 ▲1.77 | 31.86 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.15 ▲5.60 | 673.86 ▼27.34 | 52.77 ▼22.50 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.24 ▲0.02 | 111.59 ▲3.57 | 46.75 ▼0.17 |
GIGL Settings /wp-admin/admin.php?page=wc-settings&tab=shipping§ion=gigl_delivery | 28 | 0.44 | 0.08 | 4.03 |
Dashboard /wp-admin/admin.php?page=gigl_plugin | 884 | 2.05 | 25.50 | 28.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gigl-delivery/gigl-delivery.php
- > /wp-content/plugins/gigl-delivery/inc/BaseHandlerLocateFiles/WC_Gigl_Delivery_Orders.php
- > /wp-content/plugins/gigl-delivery/templates/admin.php
- > /wp-content/plugins/gigl-delivery/inc/BaseHandlerLocateFiles/WC_Gigl_Delivery_API.php
- > /wp-content/plugins/gigl-delivery/inc/PagesHandlerLocateFiles/Deliver_Loader_Handler_Class.php
- > /wp-content/plugins/gigl-delivery/inc/BaseHandlerLocateFiles/WC_Gigl_Delivery_Shipping_Method.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'IncGiGl\\BaseHandlerLocateFiles\\Base_Controller_Handler_Class' not found in wp-content/plugins/gigl-delivery/inc/PagesHandlerLocateFiles/Admin_GIGL_Handler_Class.php:13
- > PHP Fatal error
Uncaught Error: Class 'IncGiGl\\BaseHandlerLocateFiles\\Base_Controller_Handler_Class' not found in wp-content/plugins/gigl-delivery/inc/BaseHandlerLocateFiles/Enqueue_Class_Files_Handler.php:12
- > PHP Fatal error
Uncaught Error: Class 'IncGiGl\\BaseHandlerLocateFiles\\Base_Controller_Handler_Class' not found in wp-content/plugins/gigl-delivery/inc/BaseHandlerLocateFiles/Settings_Links_Handler_Class.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=wc-settings&tab=shipping§ion=gigl_delivery
- > Network (severe)
wp-admin/admin.php?page=wc-settings&tab=shipping§ion=gigl_delivery - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Contributors: The plugin contributors field is missing
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in gigl-delivery/assets to your readme.txt
gigl-delivery/gigl-delivery.php Passed 13 tests
The entry point to "GIG Logistic Delivery for Woocommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
20 characters long description:
A delivery platform.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,604 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 406 | 532 | 1,573 |
Bourne Shell | 1 | 113 | 56 | 877 |
JavaScript | 1 | 5 | 14 | 108 |
CSS | 1 | 1 | 0 | 28 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 84 | |
▷ Static methods | 10 | 11.90% |
▷ Public methods | 82 | 97.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.38% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 1.40MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo/gig-favicon.png | 1.58KB | 1.24KB | ▼ 21.21% |
assets/screenshot-5.png | 41.24KB | 11.96KB | ▼ 71.01% |
assets/screenshot-3.png | 213.87KB | 60.95KB | ▼ 71.50% |
assets/media/gigl mobile.png | 447.02KB | 231.05KB | ▼ 48.31% |
assets/screenshot-6.png | 66.79KB | 19.67KB | ▼ 70.55% |