Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼0.77ms] Passed 4 tests
Server-side resources used by Laundry pickup & delivery Service for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 48.04 ▲7.75 |
Dashboard /wp-admin | 3.51 ▲0.20 | 56.91 ▲7.64 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.30 ▼0.54 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 86.32 ▼10.36 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 34.61 ▲0.20 |
Holiday settings /wp-admin/admin.php?page=byconsolewoospd_holiday_settings | 3.40 | 34.86 |
WCLaundry Service /wp-admin/admin.php?page=byclaundryservice_settings | 3.40 | 33.36 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Laundry pickup & delivery Service for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲220 | 14.83 ▲0.27 | 8.59 ▲6.30 | 44.09 ▼2.26 |
Dashboard /wp-admin | 2,244 ▲53 | 5.88 ▲0.07 | 112.57 ▲6.57 | 42.17 ▼4.88 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.75 ▲0.72 | 41.73 ▲4.16 | 32.02 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,546 ▲12 | 23.56 ▲0.53 | 699.87 ▲54.10 | 38.21 ▼12.84 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 5.23 ▲1.06 | 101.96 ▲0.54 | 41.79 ▼3.78 |
Holiday settings /wp-admin/admin.php?page=byconsolewoospd_holiday_settings | 6,248 | 3.16 | 75.22 | 26.09 |
WCLaundry Service /wp-admin/admin.php?page=byclaundryservice_settings | 1,087 | 2.63 | 32.62 | 22.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-laundry-pickup-delivery-service/inc/byconsolewclaundryservice_holiday-setting.php:259
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-laundry-pickup-delivery-service/inc/byconsolewclaundryservice_admin.php:2
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: laundry plugin, pickup delivery, woocommerce laundry service, woocommerce laundromat, laundry pickup delivery...
woo-laundry-pickup-delivery-service/ByConsoleWCLaundryService.php 85% from 13 tests
Analyzing the main PHP file in "Laundry pickup & delivery Service for WooCommerce" version 1.0.3
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 500 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-laundry-pickup-delivery-service.php" instead of "ByConsoleWCLaundryService.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin17,535 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 3,316 | 2,267 | 15,065 |
CSS | 7 | 115 | 92 | 1,535 |
PHP | 4 | 917 | 102 | 935 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 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
27 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/images/ui-icons_a83300_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_highlight-soft_80_eeeeee_1x100.png | 0.27KB | 0.13KB | ▼ 51.45% |
css/images/ui-icons_4b8e0b_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |